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.001125/0.001125, allocations: 103 kB / 16.27 MB, free: 5.977 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.001221/0.001221, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.863/1.863, allocations: 292.3 MB / 0.5495 GB, free: 17.67 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.001619/0.001619, allocations: 66.97 kB / 0.6721 GB, free: 6.621 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2673, allocations: 114.6 MB / 0.784 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003396/0.2707, allocations: 1.325 MB / 0.7853 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6731/0.9439, allocations: 148.1 MB / 0.9299 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.944, allocations: 0 / 0.9299 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.9441, allocations: 9.312 kB / 0.9299 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.9442, allocations: 14.66 kB / 0.93 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.9451, allocations: 324 kB / 0.9303 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.022e-05/0.9452, allocations: 72.53 kB / 0.9303 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.9452, allocations: 2.656 kB / 0.9303 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.9453, allocations: 32.53 kB / 0.9304 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.9454, allocations: 40.05 kB / 0.9304 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.9454, allocations: 2.25 kB / 0.9304 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007937/0.9462, allocations: 406.3 kB / 0.9308 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.9463, allocations: 20.28 kB / 0.9308 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.9463, allocations: 29.12 kB / 0.9308 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.9467, allocations: 156.4 kB / 0.931 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9467, allocations: 0 / 0.931 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9467, allocations: 4 kB / 0.931 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.9467, allocations: 0 / 0.931 GB, free: 4.023 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.0005663/0.9473, allocations: 389.6 kB / 0.9314 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.9473, allocations: 9.781 kB / 0.9314 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000428/0.9477, allocations: 33.77 kB / 0.9314 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.9479, allocations: 170.9 kB / 0.9316 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.9479, allocations: 11.16 kB / 0.9316 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.9479, allocations: 10.97 kB / 0.9316 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.9481, allocations: 77.61 kB / 0.9317 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.9481, allocations: 0 / 0.9317 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.9482, allocations: 5.5 kB / 0.9317 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.9482, allocations: 1.375 kB / 0.9317 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.9483, allocations: 45.92 kB / 0.9317 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.9485, allocations: 189.3 kB / 0.9319 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.9487, allocations: 100.9 kB / 0.932 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.9488, allocations: 28.84 kB / 0.932 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.9491, allocations: 182.2 kB / 0.9322 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.9491, allocations: 38.55 kB / 0.9322 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.9491, allocations: 0 / 0.9322 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.001358/0.9505, allocations: 0.5462 MB / 0.9328 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.9505, allocations: 51.41 kB / 0.9328 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.841e-05/0.9506, allocations: 97.84 kB / 0.9329 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.9506, allocations: 29.83 kB / 0.9329 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.9507, allocations: 88.52 kB / 0.933 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.9507, allocations: 71 kB / 0.9331 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.9508, allocations: 37.7 kB / 0.9331 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9509, allocations: 326.8 kB / 0.9334 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.327e-05/0.951, allocations: 31.98 kB / 0.9335 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.9511, allocations: 73.44 kB / 0.9335 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.9513, allocations: 115.3 kB / 0.9336 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.9513, allocations: 0.5625 kB / 0.9336 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002116/0.9515, allocations: 150.2 kB / 0.9338 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.9515, allocations: 8 kB / 0.9338 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.9515, allocations: 0 / 0.9338 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.9516, allocations: 1.312 kB / 0.9338 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.9517, allocations: 47.91 kB / 0.9338 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.9518, allocations: 5.594 kB / 0.9338 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.9518, allocations: 7.938 kB / 0.9339 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.9518, allocations: 12 kB / 0.9339 GB, free: 0.9023 MB / 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.956e-05/0.9519, allocations: 121.8 kB / 0.934 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.952, allocations: 7.906 kB / 0.934 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.952, allocations: 16.44 kB / 0.934 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.952, allocations: 4 kB / 0.934 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.952, allocations: 3.938 kB / 0.934 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9521, allocations: 7.922 kB / 0.934 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.9522, allocations: 189.6 kB / 0.9342 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9522, allocations: 5.562 kB / 0.9342 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.9525, allocations: 43.92 kB / 0.9342 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9525, allocations: 0 / 0.9342 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.9525, allocations: 0 / 0.9342 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.9525, allocations: 0.7812 kB / 0.9342 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.9525, allocations: 4 kB / 0.9343 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.9528, allocations: 209.5 kB / 0.9345 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.9529, allocations: 90.12 kB / 0.9345 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.9529, allocations: 4.062 kB / 0.9345 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.9531, allocations: 8 kB / 0.9346 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.9531, allocations: 15.98 kB / 0.9346 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.9531, allocations: 9.188 kB / 0.9346 GB, free: 92 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.9532, allocations: 83.22 kB / 0.9347 GB, free: 8 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9532, allocations: 0 / 0.9347 GB, free: 8 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002416/0.9534, allocations: 28.05 kB / 0.9347 GB, free: 15.98 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.0001436/0.9536, allocations: 111.3 kB / 0.9348 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.9538, allocations: 117.3 kB / 0.9349 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.9538, allocations: 4 kB / 0.9349 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.316e-05/0.9539, allocations: 57.31 kB / 0.935 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.9542, allocations: 11.36 kB / 0.935 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.9551, allocations: 0.5445 MB / 0.9355 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.9554, allocations: 0.6969 MB / 0.9362 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.9554, allocations: 15.44 kB / 0.9362 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.9554, allocations: 0 / 0.9362 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of Templates: time 0.002717/0.9581, allocations: 1.3 MB / 0.9375 GB, free: 13.1 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)