Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 208.7 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8341/0.8341, allocations: 126.7 MB / 417.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.75 kB / 0.4951 GB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1859, allocations: 78.87 MB / 0.5721 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002622/0.1885, allocations: 1.387 MB / 0.5734 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4947/0.6833, allocations: 145.8 MB / 0.7158 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.6834, allocations: 4 kB / 0.7158 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.6834, allocations: 3.938 kB / 0.7158 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.6836, allocations: 15.91 kB / 0.7158 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008872/0.6845, allocations: 297.1 kB / 0.7161 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.6846, allocations: 91.73 kB / 0.7162 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.6847, allocations: 4 kB / 0.7162 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.6847, allocations: 27.97 kB / 0.7162 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.6849, allocations: 39.83 kB / 0.7163 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.6849, allocations: 0 / 0.7163 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009871/0.6859, allocations: 0.4908 MB / 0.7168 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.6859, allocations: 15.97 kB / 0.7168 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.686, allocations: 31.84 kB / 0.7168 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.6864, allocations: 177.6 kB / 0.717 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6864, allocations: 4 kB / 0.717 GB, free: 11.85 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6864, allocations: 3.938 kB / 0.717 GB, free: 11.85 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.6864, allocations: 0 / 0.717 GB, free: 11.85 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005509/0.687, allocations: 395.9 kB / 0.7174 GB, free: 11.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.687, allocations: 10.28 kB / 0.7174 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.6875, allocations: 44.8 kB / 0.7174 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.6876, allocations: 160.6 kB / 0.7176 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.6877, allocations: 11.94 kB / 0.7176 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.6877, allocations: 11.98 kB / 0.7176 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.6879, allocations: 73.66 kB / 0.7176 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6879, allocations: 3.984 kB / 0.7177 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.6879, allocations: 8 kB / 0.7177 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6879, allocations: 0 / 0.7177 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.6881, allocations: 47.89 kB / 0.7177 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.6883, allocations: 189.4 kB / 0.7179 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.6885, allocations: 94.55 kB / 0.718 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.967e-05/0.6886, allocations: 32.94 kB / 0.718 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.6889, allocations: 178.2 kB / 0.7182 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.6889, allocations: 38.5 kB / 0.7182 GB, free: 10.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.6889, allocations: 0 / 0.7182 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001417/0.6904, allocations: 0.5389 MB / 0.7187 GB, free: 9.789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.6904, allocations: 51.41 kB / 0.7188 GB, free: 9.727 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.6905, allocations: 101.8 kB / 0.7189 GB, free: 9.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.6905, allocations: 29.7 kB / 0.7189 GB, free: 9.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.6906, allocations: 80.52 kB / 0.719 GB, free: 9.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.436e-05/0.6907, allocations: 67.02 kB / 0.7191 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.6907, allocations: 41.7 kB / 0.7191 GB, free: 9.387 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6909, allocations: 322.8 kB / 0.7194 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.17e-05/0.691, allocations: 39.92 kB / 0.7194 GB, free: 9.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.6911, allocations: 72.89 kB / 0.7195 GB, free: 8.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.6913, allocations: 124.7 kB / 0.7196 GB, free: 8.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.6913, allocations: 0 / 0.7196 GB, free: 8.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002411/0.6915, allocations: 152.7 kB / 0.7198 GB, free: 8.656 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6916, allocations: 9.406 kB / 0.7198 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.6916, allocations: 0 / 0.7198 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6916, allocations: 0 / 0.7198 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.6918, allocations: 43.92 kB / 0.7198 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6918, allocations: 4 kB / 0.7198 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.6918, allocations: 7.938 kB / 0.7198 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.6919, allocations: 8 kB / 0.7198 GB, free: 8.586 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.692, allocations: 121.8 kB / 0.72 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.692, allocations: 11.91 kB / 0.72 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.6921, allocations: 13.38 kB / 0.72 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6921, allocations: 4 kB / 0.72 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6921, allocations: 3.984 kB / 0.72 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6921, allocations: 7.875 kB / 0.72 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.6923, allocations: 197.6 kB / 0.7202 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6923, allocations: 0 / 0.7202 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.6925, allocations: 31.98 kB / 0.7202 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.6925, allocations: 4.688 kB / 0.7202 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.6925, allocations: 4 kB / 0.7202 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6925, allocations: 0 / 0.7202 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.6926, allocations: 0 / 0.7202 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.6929, allocations: 218.4 kB / 0.7204 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.693, allocations: 93 kB / 0.7205 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.693, allocations: 8.062 kB / 0.7205 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.6932, allocations: 4 kB / 0.7205 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.6932, allocations: 19.94 kB / 0.7206 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.6932, allocations: 11.92 kB / 0.7206 GB, free: 7.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.6933, allocations: 75.28 kB / 0.7206 GB, free: 7.684 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6933, allocations: 0 / 0.7206 GB, free: 7.684 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000228/0.6935, allocations: 32 kB / 0.7207 GB, free: 7.652 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002237/0.6937, allocations: 111.3 kB / 0.7208 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.694, allocations: 103.9 kB / 0.7209 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.694, allocations: 0 / 0.7209 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.6941, allocations: 53.8 kB / 0.7209 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.6944, allocations: 16 kB / 0.7209 GB, free: 7.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000931/0.6953, allocations: 0.5424 MB / 0.7215 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.6957, allocations: 0.6972 MB / 0.7222 GB, free: 6.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.6959, allocations: 32.61 kB / 0.7222 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.6959, allocations: 15.44 kB / 0.7222 GB, free: 6.027 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.6959, allocations: 0 / 0.7222 GB, free: 6.027 MB / 0.545 GB Notification: Performance of Templates: time 0.003945/0.6999, allocations: 1.068 MB / 0.7232 GB, free: 4.965 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)