Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 110.6 kB / 16.42 MB, free: 5.918 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.001121/0.001121, allocations: 191 kB / 17.35 MB, free: 5.555 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.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.617/2.617, allocations: 472.7 MB / 0.746 GB, free: 400 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.14 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.6663, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002294/0.6686, allocations: 1.267 MB / 1.228 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.6723, allocations: 3.269 MB / 1.231 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.6724, allocations: 0 / 1.231 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.6724, allocations: 0 / 1.231 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.6725, allocations: 11.92 kB / 1.231 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.673, allocations: 107.5 kB / 1.231 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.6731, allocations: 35.86 kB / 1.231 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.6731, allocations: 3.984 kB / 1.231 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.6732, allocations: 23.92 kB / 1.231 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.6732, allocations: 11.98 kB / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.6732, allocations: 4 kB / 1.231 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.6735, allocations: 83.73 kB / 1.231 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.6735, allocations: 15.92 kB / 1.231 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.6735, allocations: 7.938 kB / 1.231 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.6737, allocations: 68.41 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6737, allocations: 0 / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6738, allocations: 0 / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.6738, allocations: 0 / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003729/0.6741, allocations: 347.3 kB / 1.231 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.6742, allocations: 12.03 kB / 1.231 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.6743, allocations: 8.938 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.6744, allocations: 168.3 kB / 1.232 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6744, allocations: 4.375 kB / 1.232 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.6744, allocations: 4.375 kB / 1.232 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.6746, allocations: 65.72 kB / 1.232 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.6746, allocations: 0 / 1.232 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.6746, allocations: 4 kB / 1.232 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6746, allocations: 0 / 1.232 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.032e-05/0.6747, allocations: 15.97 kB / 1.232 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.6748, allocations: 169.7 kB / 1.232 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.675, allocations: 54.56 kB / 1.232 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.675, allocations: 16.86 kB / 1.232 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.6757, allocations: 0.6022 MB / 1.233 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.6757, allocations: 34.56 kB / 1.233 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.6757, allocations: 4 kB / 1.233 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0005474/0.6763, allocations: 294.6 kB / 1.233 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.6763, allocations: 51.41 kB / 1.233 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.6764, allocations: 101.8 kB / 1.233 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.6764, allocations: 29.7 kB / 1.233 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.6765, allocations: 88.03 kB / 1.233 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.6765, allocations: 27.8 kB / 1.233 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.6765, allocations: 29.72 kB / 1.233 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.6766, allocations: 318.8 kB / 1.233 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.6767, allocations: 15.92 kB / 1.233 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.6767, allocations: 57.08 kB / 1.234 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.6768, allocations: 73.09 kB / 1.234 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6768, allocations: 4 kB / 1.234 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001346/0.677, allocations: 93.5 kB / 1.234 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.677, allocations: 4 kB / 1.234 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.677, allocations: 8.125 kB / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.677, allocations: 0 / 1.234 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.6771, allocations: 23.98 kB / 1.234 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.6771, allocations: 7.938 kB / 1.234 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.6772, allocations: 0 / 1.234 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.6772, allocations: 7.938 kB / 1.234 GB, free: 5.426 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.306e-05/0.6773, allocations: 118.3 kB / 1.234 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.6773, allocations: 4.281 kB / 1.234 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.6773, allocations: 11.95 kB / 1.234 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6773, allocations: 7.984 kB / 1.234 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6773, allocations: 0 / 1.234 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.6774, allocations: 85.06 kB / 1.234 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.6774, allocations: 11.92 kB / 1.234 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.6775, allocations: 4 kB / 1.234 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.6776, allocations: 0 / 1.234 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001722/0.6777, allocations: 149.3 kB / 1.234 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002127/0.678, allocations: 258.7 kB / 1.234 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.258e-05/0.678, allocations: 16.03 kB / 1.234 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.05e-05/0.678, allocations: 79.28 kB / 1.234 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of Backend: time 1.723e-06/0.678, allocations: 0 / 1.234 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.6785, allocations: 151.4 kB / 1.235 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006369/0.6791, allocations: 0.7572 MB / 1.235 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of Templates: time 0.003318/0.6825, allocations: 1.019 MB / 1.236 GB, free: 2.668 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)