Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001126/0.001126, allocations: 103.1 kB / 16.39 MB, free: 6.453 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.001159/0.001159, allocations: 192.2 kB / 17.32 MB, free: 5.754 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.445/2.445, allocations: 442.7 MB / 0.7167 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.03 kB / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.7006, allocations: 153 MB / 1.177 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002529/0.7032, allocations: 1.332 MB / 1.178 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1449/0.8481, allocations: 148.1 MB / 1.323 GB, free: 4.766 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.8482, allocations: 4 kB / 1.323 GB, free: 4.762 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.8482, allocations: 0 / 1.323 GB, free: 4.762 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.8484, allocations: 19.84 kB / 1.323 GB, free: 4.742 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.8494, allocations: 326.6 kB / 1.323 GB, free: 4.422 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.8495, allocations: 71.69 kB / 1.323 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.8496, allocations: 4 kB / 1.323 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.8496, allocations: 27.92 kB / 1.323 GB, free: 4.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.8497, allocations: 31.89 kB / 1.323 GB, free: 4.289 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.8498, allocations: 4 kB / 1.323 GB, free: 4.285 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008076/0.8506, allocations: 410.8 kB / 1.324 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.8506, allocations: 15.97 kB / 1.324 GB, free: 3.867 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.8507, allocations: 31.84 kB / 1.324 GB, free: 3.836 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.851, allocations: 153.3 kB / 1.324 GB, free: 3.691 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.851, allocations: 4 kB / 1.324 GB, free: 3.688 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.851, allocations: 4 kB / 1.324 GB, free: 3.684 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.851, allocations: 0 / 1.324 GB, free: 3.684 MB / 1.045 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.000473/0.8515, allocations: 383.3 kB / 1.324 GB, free: 3.262 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8516, allocations: 16.02 kB / 1.324 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.852, allocations: 32.91 kB / 1.324 GB, free: 3.215 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.8521, allocations: 172.2 kB / 1.324 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.8521, allocations: 11.94 kB / 1.324 GB, free: 2.996 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.8522, allocations: 12 kB / 1.324 GB, free: 2.984 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.8523, allocations: 77.64 kB / 1.324 GB, free: 2.902 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8524, allocations: 0 / 1.324 GB, free: 2.902 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.8524, allocations: 3.938 kB / 1.324 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.8524, allocations: 0 / 1.324 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.431e-05/0.8525, allocations: 51.89 kB / 1.324 GB, free: 2.848 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.8527, allocations: 189.5 kB / 1.325 GB, free: 2.613 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.8529, allocations: 94.58 kB / 1.325 GB, free: 2.512 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.853, allocations: 32.84 kB / 1.325 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.8532, allocations: 174.2 kB / 1.325 GB, free: 2.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.8532, allocations: 38.56 kB / 1.325 GB, free: 2.223 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.8532, allocations: 0 / 1.325 GB, free: 2.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001305/0.8545, allocations: 0.5473 MB / 1.325 GB, free: 1.625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.8546, allocations: 51.41 kB / 1.326 GB, free: 1.562 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.8547, allocations: 105.8 kB / 1.326 GB, free: 1.449 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.8547, allocations: 29.7 kB / 1.326 GB, free: 1.414 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.8547, allocations: 84.52 kB / 1.326 GB, free: 1.328 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.8548, allocations: 66.92 kB / 1.326 GB, free: 1.262 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.8549, allocations: 41.7 kB / 1.326 GB, free: 1.215 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.855, allocations: 326.8 kB / 1.326 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.855, allocations: 31.98 kB / 1.326 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.554e-05/0.8551, allocations: 71.53 kB / 1.326 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.8553, allocations: 115.3 kB / 1.326 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.8553, allocations: 0 / 1.326 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002119/0.8555, allocations: 153.6 kB / 1.327 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8555, allocations: 11.98 kB / 1.327 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8555, allocations: 4 kB / 1.327 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8555, allocations: 7.938 kB / 1.327 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.8557, allocations: 31.98 kB / 1.327 GB, free: 448 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8557, allocations: 7.938 kB / 1.327 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/0.8558, allocations: 11.94 kB / 1.327 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.8558, allocations: 8 kB / 1.327 GB, free: 420 kB / 1.045 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.466e-05/0.8559, allocations: 121.8 kB / 1.327 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.8559, allocations: 4 kB / 1.327 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.856, allocations: 16.44 kB / 1.327 GB, free: 272 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.856, allocations: 3.984 kB / 1.327 GB, free: 268 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.856, allocations: 0 / 1.327 GB, free: 268 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.8561, allocations: 100.9 kB / 1.327 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.8561, allocations: 0 / 1.327 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.8562, allocations: 15.94 kB / 1.327 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.8563, allocations: 15.94 kB / 1.327 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003785/0.8566, allocations: 224.8 kB / 1.327 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003553/0.857, allocations: 373.1 kB / 1.327 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.582e-05/0.8571, allocations: 55.97 kB / 1.327 GB, free: 15.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.8571, allocations: 79.28 kB / 1.328 GB, free: 15.38 MB / 1.061 GB Notification: Performance of Backend: time 3.61e-07/0.8571, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.8578, allocations: 230.5 kB / 1.328 GB, free: 15.14 MB / 1.061 GB Notification: Performance of SimCode: time 0.0008142/0.8586, allocations: 0.9121 MB / 1.329 GB, free: 14.18 MB / 1.061 GB Notification: Performance of Templates: time 0.005105/0.8637, allocations: 2.373 MB / 1.331 GB, free: 11.8 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)