Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_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.001145/0.001145, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.00121/0.001211, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.164/2.164, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6986/0.6999, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00223/0.7022, allocations: 1.335 MB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.8641, allocations: 148.1 MB / 1.235 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.8642, allocations: 0 / 1.235 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.8642, allocations: 9.078 kB / 1.235 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.874e-05/0.8644, allocations: 10.41 kB / 1.235 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.8654, allocations: 339 kB / 1.235 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.8655, allocations: 60.58 kB / 1.235 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.8656, allocations: 6.672 kB / 1.235 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.8656, allocations: 31.53 kB / 1.235 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.083e-05/0.8657, allocations: 37.03 kB / 1.235 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.8657, allocations: 2.25 kB / 1.235 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.8666, allocations: 418.8 kB / 1.235 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.8666, allocations: 20.12 kB / 1.235 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.8667, allocations: 19.91 kB / 1.235 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.867, allocations: 168.6 kB / 1.236 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.867, allocations: 0 / 1.236 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.867, allocations: 0 / 1.236 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.867, allocations: 0 / 1.236 GB, free: 4.652 MB / 0.9669 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.0004189/0.8675, allocations: 387.1 kB / 1.236 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.8675, allocations: 12.97 kB / 1.236 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.8679, allocations: 38.58 kB / 1.236 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.076e-05/0.868, allocations: 161.6 kB / 1.236 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.868, allocations: 6.062 kB / 1.236 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.8681, allocations: 13.91 kB / 1.236 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.8682, allocations: 85.61 kB / 1.236 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.8683, allocations: 1.906 kB / 1.236 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.8683, allocations: 0 / 1.236 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8683, allocations: 1.156 kB / 1.236 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.8684, allocations: 50.11 kB / 1.236 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.8686, allocations: 189.2 kB / 1.236 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.8687, allocations: 91 kB / 1.237 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.8688, allocations: 32.44 kB / 1.237 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.869, allocations: 180.6 kB / 1.237 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.8691, allocations: 36.05 kB / 1.237 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.552e-06/0.8691, allocations: 1.25 kB / 1.237 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001231/0.8703, allocations: 0.5446 MB / 1.237 GB, free: 3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.8704, allocations: 53.53 kB / 1.237 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.379e-05/0.8704, allocations: 100.2 kB / 1.237 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.8704, allocations: 32.02 kB / 1.238 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.8705, allocations: 80.52 kB / 1.238 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.8705, allocations: 63.05 kB / 1.238 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.8706, allocations: 43.33 kB / 1.238 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.8707, allocations: 329.1 kB / 1.238 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.8708, allocations: 33.02 kB / 1.238 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-05/0.8709, allocations: 72.23 kB / 1.238 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.871, allocations: 121.6 kB / 1.238 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.871, allocations: 0 / 1.238 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002197/0.8713, allocations: 154.1 kB / 1.238 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8713, allocations: 9.312 kB / 1.238 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.8713, allocations: 1.062 kB / 1.238 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.8713, allocations: 2.094 kB / 1.238 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.8715, allocations: 39.8 kB / 1.238 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.8715, allocations: 6.172 kB / 1.238 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.8716, allocations: 13.03 kB / 1.238 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.8716, allocations: 9.5 kB / 1.238 GB, free: 2.031 MB / 0.9669 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.258e-05/0.8717, allocations: 122.9 kB / 1.239 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.8717, allocations: 12.36 kB / 1.239 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.8717, allocations: 21.62 kB / 1.239 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8718, allocations: 0 / 1.239 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8718, allocations: 0 / 1.239 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.8718, allocations: 99.09 kB / 1.239 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.8719, allocations: 5.203 kB / 1.239 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.872, allocations: 7.812 kB / 1.239 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.872, allocations: 9.141 kB / 1.239 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000357/0.8724, allocations: 242.6 kB / 1.239 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003472/0.8728, allocations: 366.1 kB / 1.239 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.315e-05/0.8729, allocations: 59.25 kB / 1.239 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.662e-05/0.8729, allocations: 77.47 kB / 1.239 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of Backend: time 3.71e-07/0.8729, allocations: 0 / 1.239 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.8735, allocations: 222.7 kB / 1.24 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0007747/0.8742, allocations: 0.9331 MB / 1.241 GB, free: 184 kB / 0.9669 GB Notification: Performance of Templates: time 0.005121/0.8794, allocations: 2.372 MB / 1.243 GB, free: 14.93 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)