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.001109/0.001109, allocations: 102.2 kB / 16.38 MB, free: 6.434 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.001152/0.001152, allocations: 194 kB / 17.31 MB, free: 5.777 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.279/1.279, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.728/1.728, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.00144/0.00144, allocations: 71.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1891, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002247/0.1914, allocations: 1.318 MB / 0.7861 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4591/0.6505, allocations: 148.1 MB / 0.9307 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.6506, allocations: 0.75 kB / 0.9307 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.141e-05/0.6507, allocations: 3.984 kB / 0.9307 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.969e-05/0.6508, allocations: 14.73 kB / 0.9307 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008729/0.6517, allocations: 325.6 kB / 0.931 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.485e-05/0.6518, allocations: 68 kB / 0.9311 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.6518, allocations: 3.906 kB / 0.9311 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.6518, allocations: 27.48 kB / 0.9311 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.6519, allocations: 35.45 kB / 0.9312 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.652, allocations: 4.812 kB / 0.9312 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007751/0.6527, allocations: 408.5 kB / 0.9316 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.6528, allocations: 19.91 kB / 0.9316 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.6529, allocations: 31.91 kB / 0.9316 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.6532, allocations: 153.5 kB / 0.9318 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6532, allocations: 4 kB / 0.9318 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6532, allocations: 0 / 0.9318 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6532, allocations: 0 / 0.9318 GB, free: 3.574 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.0004179/0.6536, allocations: 398.1 kB / 0.9321 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.6537, allocations: 8.031 kB / 0.9321 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.6541, allocations: 32.91 kB / 0.9322 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.6542, allocations: 184.4 kB / 0.9324 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.6542, allocations: 3.938 kB / 0.9324 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.6542, allocations: 12 kB / 0.9324 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.6544, allocations: 73.66 kB / 0.9324 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.6544, allocations: 0 / 0.9324 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.6544, allocations: 4 kB / 0.9324 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.6544, allocations: 0 / 0.9324 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.774e-05/0.6545, allocations: 48.64 kB / 0.9325 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.6547, allocations: 193.5 kB / 0.9327 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.6549, allocations: 87.31 kB / 0.9328 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.655, allocations: 38.38 kB / 0.9328 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.6552, allocations: 178.1 kB / 0.933 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.6552, allocations: 46.5 kB / 0.933 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.6552, allocations: 0 / 0.933 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.001253/0.6565, allocations: 0.5435 MB / 0.9335 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.6565, allocations: 55.39 kB / 0.9336 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.6566, allocations: 97.86 kB / 0.9337 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.6566, allocations: 29.7 kB / 0.9337 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.6567, allocations: 84.52 kB / 0.9338 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.6567, allocations: 71 kB / 0.9339 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.6568, allocations: 33.72 kB / 0.9339 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.6569, allocations: 326.8 kB / 0.9342 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.657, allocations: 33.39 kB / 0.9342 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.452e-05/0.6571, allocations: 84.98 kB / 0.9343 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.6572, allocations: 113.4 kB / 0.9344 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6572, allocations: 0 / 0.9344 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002136/0.6574, allocations: 153.4 kB / 0.9346 GB, free: 388 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.6575, allocations: 8 kB / 0.9346 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6575, allocations: 0 / 0.9346 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6575, allocations: 4 kB / 0.9346 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.6577, allocations: 43.92 kB / 0.9346 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.6577, allocations: 6.266 kB / 0.9346 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.6578, allocations: 0 / 0.9346 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.6578, allocations: 15.94 kB / 0.9346 GB, free: 312 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.265e-05/0.6579, allocations: 113.8 kB / 0.9348 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.6579, allocations: 7.906 kB / 0.9348 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.6579, allocations: 24.36 kB / 0.9348 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.658, allocations: 0.8438 kB / 0.9348 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.658, allocations: 2.688 kB / 0.9348 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.6581, allocations: 97.09 kB / 0.9349 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.6581, allocations: 3.938 kB / 0.9349 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.6582, allocations: 8 kB / 0.9349 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.6583, allocations: 11.98 kB / 0.9349 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003716/0.6586, allocations: 237.4 kB / 0.9351 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003535/0.659, allocations: 372 kB / 0.9355 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.365e-05/0.6591, allocations: 53.23 kB / 0.9355 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.721e-05/0.6591, allocations: 76.31 kB / 0.9356 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of Backend: time 4.31e-07/0.6591, allocations: 3.938 kB / 0.9356 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005727/0.6597, allocations: 236.8 kB / 0.9358 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0007872/0.6605, allocations: 0.9154 MB / 0.9367 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.004967/0.6655, allocations: 2.349 MB / 0.939 GB, free: 11.77 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)