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.001053/0.001053, allocations: 114.2 kB / 16.42 MB, free: 6.492 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.00122/0.00122, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 292.3 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.9286/0.9286, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 95.84 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3626, allocations: 86.99 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001959/0.3646, allocations: 1.257 MB / 0.7683 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.3678, allocations: 3.254 MB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.3679, allocations: 0 / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.3679, allocations: 11.92 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.439e-05/0.3679, allocations: 3.938 kB / 0.7715 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.3684, allocations: 99.53 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.781e-05/0.3684, allocations: 39.84 kB / 0.7716 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.785e-05/0.3685, allocations: 0 / 0.7716 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.3685, allocations: 23.92 kB / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.3686, allocations: 23.91 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3686, allocations: 4 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3688, allocations: 75.81 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.3688, allocations: 11.98 kB / 0.7717 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.3689, allocations: 7.938 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.369, allocations: 75.5 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3691, allocations: 0 / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3691, allocations: 0 / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3691, allocations: 0 / 0.7718 GB, free: 15.05 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.0003663/0.3694, allocations: 354 kB / 0.7721 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.3695, allocations: 8.031 kB / 0.7721 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.3696, allocations: 4.938 kB / 0.7721 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.3697, allocations: 164.3 kB / 0.7723 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3697, allocations: 4.375 kB / 0.7723 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3697, allocations: 4.375 kB / 0.7723 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3698, allocations: 57.8 kB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3699, allocations: 3.984 kB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3699, allocations: 4 kB / 0.7724 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.3699, allocations: 4 kB / 0.7724 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.904e-05/0.3699, allocations: 19.97 kB / 0.7724 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.3701, allocations: 173.5 kB / 0.7726 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.3702, allocations: 54.5 kB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.3702, allocations: 20.84 kB / 0.7726 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/0.3709, allocations: 0.5946 MB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3709, allocations: 34.56 kB / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.3709, allocations: 0 / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005133/0.3714, allocations: 298.6 kB / 0.7735 GB, free: 12.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.3715, allocations: 51.41 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/0.3716, allocations: 105.8 kB / 0.7737 GB, free: 12.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3716, allocations: 33.7 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.3716, allocations: 87.98 kB / 0.7738 GB, free: 12.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.3717, allocations: 31.55 kB / 0.7738 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.3717, allocations: 25.72 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.3718, allocations: 322.8 kB / 0.7742 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.3718, allocations: 8 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.3719, allocations: 57.14 kB / 0.7742 GB, free: 12.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.867e-05/0.372, allocations: 73.08 kB / 0.7743 GB, free: 12.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.372, allocations: 4 kB / 0.7743 GB, free: 12.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001288/0.3721, allocations: 97.45 kB / 0.7744 GB, free: 11.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.3721, allocations: 4 kB / 0.7744 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3721, allocations: 4 kB / 0.7744 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3722, allocations: 0 / 0.7744 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.3722, allocations: 23.94 kB / 0.7744 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3723, allocations: 7.984 kB / 0.7744 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.3723, allocations: 0 / 0.7744 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3723, allocations: 7.938 kB / 0.7744 GB, free: 11.94 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.907e-05/0.3724, allocations: 125.8 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3724, allocations: 4 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.3725, allocations: 8.25 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3725, allocations: 3.938 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3725, allocations: 0 / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.3725, allocations: 89.08 kB / 0.7747 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3725, allocations: 7.938 kB / 0.7747 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3727, allocations: 4.438 kB / 0.7747 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.3727, allocations: 3.984 kB / 0.7747 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001496/0.3728, allocations: 148.9 kB / 0.7748 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001877/0.373, allocations: 254.7 kB / 0.7751 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.663e-05/0.3731, allocations: 16.03 kB / 0.7751 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.3731, allocations: 79.28 kB / 0.7751 GB, free: 11.15 MB / 0.545 GB Notification: Performance of Backend: time 2.11e-07/0.3731, allocations: 0 / 0.7751 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.3735, allocations: 146.2 kB / 0.7753 GB, free: 11 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006001/0.3742, allocations: 0.7614 MB / 0.776 GB, free: 10.19 MB / 0.545 GB Notification: Performance of Templates: time 0.003035/0.3772, allocations: 1.008 MB / 0.777 GB, free: 9.184 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)