Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 109.2 kB / 16.42 MB, free: 6.445 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.001073/0.001073, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 298.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 87.86 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3616, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001929/0.3635, allocations: 1.265 MB / 0.7683 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00324/0.3668, allocations: 3.246 MB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.3668, allocations: 0 / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.3668, allocations: 15.92 kB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.3669, allocations: 3.984 kB / 0.7715 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.3674, allocations: 107.5 kB / 0.7716 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.544e-05/0.3675, allocations: 35.86 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.3675, allocations: 4 kB / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.3676, allocations: 23.91 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.3677, allocations: 15.92 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.3677, allocations: 0 / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.3679, allocations: 83.8 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.621e-05/0.3679, allocations: 8 kB / 0.7717 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.368, allocations: 23.91 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.3682, allocations: 63.53 kB / 0.7718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3682, allocations: 4 kB / 0.7718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3682, allocations: 0 / 0.7718 GB, free: 15.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3682, allocations: 0 / 0.7718 GB, free: 15.03 MB / 0.545 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.0004046/0.3686, allocations: 342 kB / 0.7721 GB, free: 14.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3686, allocations: 8.031 kB / 0.7721 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3688, allocations: 12.94 kB / 0.7721 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.3689, allocations: 164.4 kB / 0.7723 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3689, allocations: 8.312 kB / 0.7723 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3689, allocations: 4.375 kB / 0.7723 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3691, allocations: 57.8 kB / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3691, allocations: 0 / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3691, allocations: 0 / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3691, allocations: 3.938 kB / 0.7724 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.513e-05/0.3692, allocations: 23.97 kB / 0.7724 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.3694, allocations: 173.5 kB / 0.7726 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.904e-05/0.3695, allocations: 46.5 kB / 0.7726 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.3695, allocations: 20.84 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.3702, allocations: 0.5987 MB / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3702, allocations: 34.56 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3702, allocations: 0 / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005181/0.3707, allocations: 302.7 kB / 0.7735 GB, free: 12.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.3708, allocations: 51.41 kB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.3708, allocations: 97.86 kB / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3708, allocations: 25.7 kB / 0.7737 GB, free: 12.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.3709, allocations: 91.98 kB / 0.7738 GB, free: 12.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.3709, allocations: 31.61 kB / 0.7738 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.371, allocations: 21.72 kB / 0.7738 GB, free: 12.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.3711, allocations: 326.7 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.3711, allocations: 12 kB / 0.7742 GB, free: 12.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-05/0.3712, allocations: 49.14 kB / 0.7742 GB, free: 12.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.3712, allocations: 81.08 kB / 0.7743 GB, free: 12.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3712, allocations: 0 / 0.7743 GB, free: 12.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001295/0.3714, allocations: 101.6 kB / 0.7744 GB, free: 11.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3714, allocations: 8.125 kB / 0.7744 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3714, allocations: 4 kB / 0.7744 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3714, allocations: 4 kB / 0.7744 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.3715, allocations: 23.92 kB / 0.7744 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3715, allocations: 0 / 0.7744 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.3716, allocations: 4 kB / 0.7744 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3716, allocations: 11.94 kB / 0.7744 GB, free: 11.92 MB / 0.545 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 6.293e-05/0.3716, allocations: 116.2 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.3717, allocations: 4 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.3717, allocations: 11.97 kB / 0.7746 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3717, allocations: 3.938 kB / 0.7746 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3717, allocations: 4 kB / 0.7746 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.3718, allocations: 81.09 kB / 0.7747 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.3718, allocations: 7.875 kB / 0.7747 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3719, allocations: 4 kB / 0.7747 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.3719, allocations: 7.984 kB / 0.7747 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001458/0.3721, allocations: 144.9 kB / 0.7748 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001995/0.3723, allocations: 266.8 kB / 0.7751 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.033e-05/0.3723, allocations: 19.92 kB / 0.7751 GB, free: 11.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.695e-05/0.3724, allocations: 83.31 kB / 0.7752 GB, free: 11.12 MB / 0.545 GB Notification: Performance of Backend: time 2e-07/0.3724, allocations: 0 / 0.7752 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.3728, allocations: 138.2 kB / 0.7753 GB, free: 10.98 MB / 0.545 GB Notification: Performance of SimCode: time 0.000585/0.3734, allocations: 0.7653 MB / 0.776 GB, free: 10.17 MB / 0.545 GB Notification: Performance of Templates: time 0.00303/0.3764, allocations: 1.004 MB / 0.777 GB, free: 9.164 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)