Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 105.5 kB / 16.36 MB, free: 5.891 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.001533/0.001533, allocations: 189.9 kB / 17.29 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 71.89 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2735, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003487/0.2771, allocations: 1.322 MB / 0.7861 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7065/0.9836, allocations: 148.1 MB / 0.9307 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.9837, allocations: 0 / 0.9307 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.153e-05/0.9839, allocations: 8.484 kB / 0.9307 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.984, allocations: 11.02 kB / 0.9307 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.9852, allocations: 333 kB / 0.931 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.9853, allocations: 63.95 kB / 0.9311 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.9854, allocations: 3.938 kB / 0.9311 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.9854, allocations: 31.16 kB / 0.9311 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.9856, allocations: 36.86 kB / 0.9311 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.9856, allocations: 6.938 kB / 0.9312 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009804/0.9866, allocations: 408.6 kB / 0.9315 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.9867, allocations: 15.97 kB / 0.9316 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.9867, allocations: 31.86 kB / 0.9316 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.9871, allocations: 153.5 kB / 0.9317 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9871, allocations: 0 / 0.9317 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/0.9871, allocations: 5.781 kB / 0.9317 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9872, allocations: 0 / 0.9317 GB, free: 3.531 MB / 0.7169 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.0005057/0.9877, allocations: 390.2 kB / 0.9321 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.9877, allocations: 12.03 kB / 0.9321 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/0.9881, allocations: 36.91 kB / 0.9322 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.9883, allocations: 176.2 kB / 0.9323 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.9883, allocations: 3.938 kB / 0.9323 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.9883, allocations: 12 kB / 0.9323 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.9885, allocations: 73.66 kB / 0.9324 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.9885, allocations: 0 / 0.9324 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.9886, allocations: 4 kB / 0.9324 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9886, allocations: 0 / 0.9324 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.9887, allocations: 43.95 kB / 0.9325 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.9889, allocations: 197.4 kB / 0.9326 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.9891, allocations: 96.22 kB / 0.9327 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.9892, allocations: 37 kB / 0.9328 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/0.9895, allocations: 178.2 kB / 0.9329 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.9895, allocations: 38.56 kB / 0.933 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 2.775e-06/0.9895, allocations: 3.984 kB / 0.933 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.001298/0.9908, allocations: 0.5449 MB / 0.9335 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.9909, allocations: 55.41 kB / 0.9336 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.991, allocations: 101.8 kB / 0.9337 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.991, allocations: 33.7 kB / 0.9337 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.991, allocations: 80.52 kB / 0.9338 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.9911, allocations: 70.98 kB / 0.9338 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.9911, allocations: 37.72 kB / 0.9339 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.9913, allocations: 322.8 kB / 0.9342 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.9913, allocations: 35.97 kB / 0.9342 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/0.9914, allocations: 74.06 kB / 0.9343 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.9916, allocations: 119 kB / 0.9344 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.9916, allocations: 0 / 0.9344 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002219/0.9918, allocations: 157.4 kB / 0.9346 GB, free: 344 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.9919, allocations: 8 kB / 0.9346 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9919, allocations: 0 / 0.9346 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9919, allocations: 4 kB / 0.9346 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.9921, allocations: 35.98 kB / 0.9346 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.9921, allocations: 4 kB / 0.9346 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.9921, allocations: 7.938 kB / 0.9346 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.9922, allocations: 12 kB / 0.9346 GB, free: 272 kB / 0.7169 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.902e-05/0.9923, allocations: 117.8 kB / 0.9347 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.9923, allocations: 11.89 kB / 0.9348 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.9923, allocations: 16.44 kB / 0.9348 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9924, allocations: 4 kB / 0.9348 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9924, allocations: 4 kB / 0.9348 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9924, allocations: 3.938 kB / 0.9348 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.9926, allocations: 195 kB / 0.935 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.9926, allocations: 0.875 kB / 0.935 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.9928, allocations: 39.92 kB / 0.935 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9928, allocations: 0 / 0.935 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.9928, allocations: 4 kB / 0.935 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.9928, allocations: 7.938 kB / 0.935 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9928, allocations: 6.297 kB / 0.935 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.9932, allocations: 210.1 kB / 0.9352 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.9932, allocations: 89 kB / 0.9353 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.9933, allocations: 4.062 kB / 0.9353 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.9934, allocations: 15.92 kB / 0.9353 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.9934, allocations: 15.92 kB / 0.9353 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.9935, allocations: 4 kB / 0.9353 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.9935, allocations: 75.28 kB / 0.9354 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9935, allocations: 0 / 0.9354 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00023/0.9938, allocations: 36.94 kB / 0.9354 GB, free: 15.34 MB / 0.7325 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.0001481/0.9939, allocations: 103.2 kB / 0.9355 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.9941, allocations: 103.8 kB / 0.9356 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.9941, allocations: 0 / 0.9356 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.9942, allocations: 63.62 kB / 0.9357 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.9945, allocations: 12 kB / 0.9357 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.9953, allocations: 0.5344 MB / 0.9362 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.9956, allocations: 0.7047 MB / 0.9369 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.9957, allocations: 15.44 kB / 0.9369 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/0.9957, allocations: 0 / 0.9369 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of Templates: time 0.003283/0.999, allocations: 1.297 MB / 0.9382 GB, free: 12.48 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)