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.001051/0.001051, allocations: 100.1 kB / 15.88 MB, free: 8 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.001152/0.001152, allocations: 202.2 kB / 16.79 MB, free: 6.828 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7554/0.7554, allocations: 122.9 MB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.55 kB / 0.4904 GB, free: 14.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 77.94 MB / 0.5665 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002333/0.1623, allocations: 1.379 MB / 0.5679 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4392/0.6015, allocations: 145.8 MB / 0.7102 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.6016, allocations: 0 / 0.7102 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.621e-05/0.6017, allocations: 7.922 kB / 0.7102 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.6018, allocations: 19.91 kB / 0.7103 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.6029, allocations: 297.1 kB / 0.7105 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.603, allocations: 79.81 kB / 0.7106 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.6031, allocations: 11.97 kB / 0.7106 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.6031, allocations: 19.94 kB / 0.7106 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.6032, allocations: 35.89 kB / 0.7107 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.6032, allocations: 0 / 0.7107 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009803/0.6042, allocations: 0.4947 MB / 0.7112 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.6043, allocations: 23.91 kB / 0.7112 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.6044, allocations: 19.94 kB / 0.7112 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.6048, allocations: 193.4 kB / 0.7114 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6048, allocations: 0 / 0.7114 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6048, allocations: 0 / 0.7114 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.6048, allocations: 0 / 0.7114 GB, free: 3.758 MB / 0.5294 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.0004627/0.6053, allocations: 388 kB / 0.7118 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6053, allocations: 10.28 kB / 0.7118 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004403/0.6058, allocations: 48.83 kB / 0.7118 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.6059, allocations: 164.5 kB / 0.712 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6059, allocations: 11.94 kB / 0.712 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.6059, allocations: 4 kB / 0.712 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.6061, allocations: 81.62 kB / 0.7121 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6061, allocations: 0 / 0.7121 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.6062, allocations: 8 kB / 0.7121 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6062, allocations: 0 / 0.7121 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.6063, allocations: 55.33 kB / 0.7121 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.6065, allocations: 181.6 kB / 0.7123 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.6067, allocations: 98.61 kB / 0.7124 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.6068, allocations: 32.84 kB / 0.7124 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.607, allocations: 178.5 kB / 0.7126 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.607, allocations: 38.56 kB / 0.7126 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.6071, allocations: 3.938 kB / 0.7126 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19): time 0.001389/0.6085, allocations: 0.5373 MB / 0.7132 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.6085, allocations: 59.41 kB / 0.7132 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.6086, allocations: 93.86 kB / 0.7133 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.6086, allocations: 33.69 kB / 0.7133 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.6087, allocations: 80.52 kB / 0.7134 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.6087, allocations: 74.91 kB / 0.7135 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.6088, allocations: 41.7 kB / 0.7135 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6089, allocations: 322.8 kB / 0.7138 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.609, allocations: 47.98 kB / 0.7139 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.6091, allocations: 65.23 kB / 0.7139 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.6093, allocations: 115.4 kB / 0.7141 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6093, allocations: 0 / 0.7141 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002467/0.6095, allocations: 153.5 kB / 0.7142 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.6096, allocations: 4 kB / 0.7142 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6096, allocations: 4 kB / 0.7142 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.6096, allocations: 4 kB / 0.7142 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.6098, allocations: 44.42 kB / 0.7143 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.6099, allocations: 4 kB / 0.7143 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.6099, allocations: 7.922 kB / 0.7143 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.6099, allocations: 8 kB / 0.7143 GB, free: 500 kB / 0.5294 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.0001519/0.6101, allocations: 125.8 kB / 0.7144 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.6101, allocations: 8.781 kB / 0.7144 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.6102, allocations: 16.44 kB / 0.7144 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6102, allocations: 4 kB / 0.7144 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.6103, allocations: 4 kB / 0.7144 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6103, allocations: 3.938 kB / 0.7144 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.6105, allocations: 189.6 kB / 0.7146 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6105, allocations: 0 / 0.7146 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.6107, allocations: 41.34 kB / 0.7146 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.6108, allocations: 4 kB / 0.7147 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.6108, allocations: 0 / 0.7147 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6108, allocations: 0 / 0.7147 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6108, allocations: 0 / 0.7147 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.6112, allocations: 212.8 kB / 0.7149 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.6113, allocations: 93 kB / 0.7149 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.6114, allocations: 8.047 kB / 0.715 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.6115, allocations: 7.938 kB / 0.715 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.6116, allocations: 11.98 kB / 0.715 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.6116, allocations: 13.44 kB / 0.715 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.6117, allocations: 75.28 kB / 0.7151 GB, free: 15.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6117, allocations: 96 / 0.7151 GB, free: 15.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002791/0.612, allocations: 36 kB / 0.7151 GB, free: 15.56 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.000229/0.6122, allocations: 107.2 kB / 0.7152 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.6125, allocations: 107 kB / 0.7153 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6125, allocations: 0 / 0.7153 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.6126, allocations: 47.92 kB / 0.7153 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.6129, allocations: 19.98 kB / 0.7154 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/0.6139, allocations: 0.54 MB / 0.7159 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.6141, allocations: 0.6972 MB / 0.7166 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.6143, allocations: 28.62 kB / 0.7166 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.6143, allocations: 15.44 kB / 0.7166 GB, free: 13.95 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.6144, allocations: 0 / 0.7166 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Templates: time 0.003758/0.6181, allocations: 1.08 MB / 0.7177 GB, free: 12.87 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)