Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 101.7 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 196 kB / 16.91 MB, free: 6.191 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.224/1.224, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 288.1 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8632/0.8632, allocations: 169.2 MB / 0.4985 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 93.09 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1519, allocations: 86.97 MB / 0.6803 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002569/0.1545, allocations: 1.396 MB / 0.6816 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3822/0.5368, allocations: 145.9 MB / 0.8241 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.5368, allocations: 0 / 0.8241 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.5369, allocations: 7.922 kB / 0.8241 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.537, allocations: 11.92 kB / 0.8241 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.5379, allocations: 308.4 kB / 0.8244 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.538, allocations: 67.77 kB / 0.8245 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.487e-05/0.538, allocations: 1.312 kB / 0.8245 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.5381, allocations: 31.91 kB / 0.8245 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.5382, allocations: 35.89 kB / 0.8246 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.5382, allocations: 4 kB / 0.8246 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.5389, allocations: 441.4 kB / 0.825 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.539, allocations: 23.91 kB / 0.825 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.539, allocations: 27.91 kB / 0.825 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.5392, allocations: 111.7 kB / 0.8251 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5392, allocations: 0 / 0.8251 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5393, allocations: 0 / 0.8251 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5393, allocations: 0 / 0.8251 GB, free: 11.17 MB / 0.5919 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.0004299/0.5397, allocations: 387.4 kB / 0.8255 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5397, allocations: 12.03 kB / 0.8255 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.5401, allocations: 41.42 kB / 0.8256 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.5402, allocations: 161.7 kB / 0.8257 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5403, allocations: 11.94 kB / 0.8257 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.5403, allocations: 12 kB / 0.8257 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.5405, allocations: 77.58 kB / 0.8258 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5405, allocations: 3.938 kB / 0.8258 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5405, allocations: 4 kB / 0.8258 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.5405, allocations: 0 / 0.8258 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.593e-05/0.5406, allocations: 47.95 kB / 0.8259 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.5408, allocations: 189.5 kB / 0.8261 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.541, allocations: 90.62 kB / 0.8261 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.541, allocations: 34.64 kB / 0.8262 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.5413, allocations: 174.2 kB / 0.8263 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.5413, allocations: 42.5 kB / 0.8264 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.5413, allocations: 0 / 0.8264 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00122/0.5425, allocations: 0.5434 MB / 0.8269 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.5426, allocations: 55.41 kB / 0.827 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.5426, allocations: 93.86 kB / 0.8271 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.5427, allocations: 29.7 kB / 0.8271 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.5427, allocations: 84.52 kB / 0.8272 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.5428, allocations: 70.94 kB / 0.8272 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.5428, allocations: 41.7 kB / 0.8273 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5429, allocations: 326.7 kB / 0.8276 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.543, allocations: 36.09 kB / 0.8276 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/0.5431, allocations: 74.66 kB / 0.8277 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.5432, allocations: 123.1 kB / 0.8278 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5432, allocations: 0 / 0.8278 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000211/0.5435, allocations: 149.5 kB / 0.8279 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5435, allocations: 10.5 kB / 0.828 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5435, allocations: 0 / 0.828 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.5435, allocations: 4 kB / 0.828 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.5437, allocations: 43.92 kB / 0.828 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5437, allocations: 4 kB / 0.828 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.5437, allocations: 7.938 kB / 0.828 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.5438, allocations: 8 kB / 0.828 GB, free: 7.918 MB / 0.5919 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 8.344e-05/0.5438, allocations: 125.8 kB / 0.8281 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.5439, allocations: 7.906 kB / 0.8281 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.133e-05/0.5439, allocations: 16.44 kB / 0.8282 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.5439, allocations: 4 kB / 0.8282 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5439, allocations: 4 kB / 0.8282 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.544, allocations: 3.938 kB / 0.8282 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.5441, allocations: 193.6 kB / 0.8284 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5441, allocations: 0 / 0.8284 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.5443, allocations: 39.97 kB / 0.8284 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5443, allocations: 4 kB / 0.8284 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.5443, allocations: 0 / 0.8284 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5443, allocations: 0 / 0.8284 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5443, allocations: 0 / 0.8284 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.5446, allocations: 218.9 kB / 0.8286 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.5447, allocations: 90.44 kB / 0.8287 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.5447, allocations: 8.047 kB / 0.8287 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5448, allocations: 8 kB / 0.8287 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.5449, allocations: 11.98 kB / 0.8287 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.5449, allocations: 7.938 kB / 0.8287 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.5449, allocations: 79.28 kB / 0.8288 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.322e-06/0.5449, allocations: 3.938 kB / 0.8288 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002112/0.5452, allocations: 36.03 kB / 0.8288 GB, free: 6.98 MB / 0.5919 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.0001314/0.5453, allocations: 115.2 kB / 0.829 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.5455, allocations: 116.2 kB / 0.8291 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5455, allocations: 0 / 0.8291 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.5456, allocations: 51.92 kB / 0.8291 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.5458, allocations: 20.95 kB / 0.8291 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/0.5466, allocations: 0.5734 MB / 0.8297 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.5469, allocations: 0.6969 MB / 0.8304 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.5469, allocations: 19.44 kB / 0.8304 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.5469, allocations: 0 / 0.8304 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of Templates: time 0.002585/0.5495, allocations: 1.291 MB / 0.8317 GB, free: 4.035 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)