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.001474/0.001474, allocations: 105.4 kB / 15.7 MB, free: 24 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.001773/0.001773, allocations: 197.5 kB / 16.64 MB, free: 6.445 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.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.856/1.856, allocations: 292.3 MB / 0.549 GB, free: 12.81 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.001396/0.001396, allocations: 68.91 kB / 0.6722 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2359, allocations: 114.6 MB / 0.7841 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002388/0.2384, allocations: 1.333 MB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7323/0.9707, allocations: 148.1 MB / 0.93 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.9708, allocations: 0 / 0.93 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.028e-05/0.9709, allocations: 5.859 kB / 0.93 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.971, allocations: 12.64 kB / 0.93 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.9721, allocations: 329.1 kB / 0.9304 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.9722, allocations: 67.58 kB / 0.9304 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.9723, allocations: 5.484 kB / 0.9304 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.9723, allocations: 30.41 kB / 0.9305 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.9724, allocations: 33.69 kB / 0.9305 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.9724, allocations: 2.656 kB / 0.9305 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007623/0.9732, allocations: 409.6 kB / 0.9309 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.9733, allocations: 19.05 kB / 0.9309 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.9733, allocations: 32.84 kB / 0.9309 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.9737, allocations: 162.2 kB / 0.9311 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9737, allocations: 0 / 0.9311 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9737, allocations: 1.953 kB / 0.9311 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.9737, allocations: 0 / 0.9311 GB, free: 3.23 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.0006259/0.9743, allocations: 385.8 kB / 0.9315 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.9744, allocations: 14.5 kB / 0.9315 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004182/0.9748, allocations: 36.09 kB / 0.9315 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.9749, allocations: 161.3 kB / 0.9317 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.9749, allocations: 6.562 kB / 0.9317 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.975, allocations: 17.61 kB / 0.9317 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.9752, allocations: 80.16 kB / 0.9318 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9752, allocations: 1.094 kB / 0.9318 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.9752, allocations: 3.75 kB / 0.9318 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.9752, allocations: 2.625 kB / 0.9318 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.9753, allocations: 48.95 kB / 0.9318 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.9755, allocations: 185.4 kB / 0.932 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.9757, allocations: 94.58 kB / 0.9321 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.9758, allocations: 33.69 kB / 0.9321 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.976, allocations: 178.2 kB / 0.9323 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.9761, allocations: 38.19 kB / 0.9323 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.9761, allocations: 0 / 0.9323 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001271/0.9774, allocations: 0.5469 MB / 0.9329 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.9774, allocations: 56.19 kB / 0.9329 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.9775, allocations: 100.3 kB / 0.933 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.9775, allocations: 30.78 kB / 0.933 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.9776, allocations: 80.52 kB / 0.9331 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.9776, allocations: 67.75 kB / 0.9332 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.9777, allocations: 44.31 kB / 0.9332 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9778, allocations: 324.6 kB / 0.9335 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.9779, allocations: 38.14 kB / 0.9336 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.9779, allocations: 64.72 kB / 0.9336 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.9781, allocations: 116.1 kB / 0.9337 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.9781, allocations: 0 / 0.9337 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002197/0.9783, allocations: 154.7 kB / 0.9339 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.9784, allocations: 6.188 kB / 0.9339 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9784, allocations: 7.719 kB / 0.9339 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.9784, allocations: 0.6094 kB / 0.9339 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.9786, allocations: 41.47 kB / 0.9339 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.9786, allocations: 0 / 0.9339 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.9786, allocations: 11.17 kB / 0.9339 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.9787, allocations: 9.312 kB / 0.934 GB, free: 17.11 MB / 0.7325 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.331e-05/0.9788, allocations: 129.5 kB / 0.9341 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.9788, allocations: 9.594 kB / 0.9341 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.9788, allocations: 18.55 kB / 0.9341 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9788, allocations: 6.531 kB / 0.9341 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9789, allocations: 1.094 kB / 0.9341 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.9789, allocations: 5.391 kB / 0.9341 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.979, allocations: 192.3 kB / 0.9343 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.979, allocations: 0 / 0.9343 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.9792, allocations: 42.94 kB / 0.9343 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.9793, allocations: 0 / 0.9343 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.9793, allocations: 1.812 kB / 0.9343 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.9793, allocations: 2.219 kB / 0.9343 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9793, allocations: 0.6562 kB / 0.9343 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.9796, allocations: 226.7 kB / 0.9346 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/0.9797, allocations: 85.09 kB / 0.9346 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.9797, allocations: 4.297 kB / 0.9346 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.9799, allocations: 9.641 kB / 0.9347 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.9799, allocations: 17.66 kB / 0.9347 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.9799, allocations: 9.922 kB / 0.9347 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.98, allocations: 79.84 kB / 0.9348 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.98, allocations: 2.938 kB / 0.9348 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002262/0.9802, allocations: 28.03 kB / 0.9348 GB, free: 16.5 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.0001349/0.9803, allocations: 108 kB / 0.9349 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.9806, allocations: 104.6 kB / 0.935 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9806, allocations: 0 / 0.935 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.9807, allocations: 55.48 kB / 0.935 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.9809, allocations: 21.16 kB / 0.9351 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.9817, allocations: 0.5226 MB / 0.9356 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.9819, allocations: 0.6971 MB / 0.9363 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.982, allocations: 23.44 kB / 0.9363 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.9821, allocations: 15.81 kB / 0.9363 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.9821, allocations: 0 / 0.9363 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.003889/0.986, allocations: 1.104 MB / 0.9374 GB, free: 15.23 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)