Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_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_10_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.001172/0.001172, allocations: 110.5 kB / 16.42 MB, free: 6.5 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.001181/0.001181, 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.89 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6815, allocations: 151.6 MB / 1.167 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002262/0.6838, allocations: 1.257 MB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003809/0.6876, allocations: 3.262 MB / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.6876, allocations: 0 / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.6877, allocations: 0 / 1.172 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.6877, allocations: 11.88 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.6883, allocations: 107.5 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.22e-05/0.6883, allocations: 35.84 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.6884, allocations: 7.984 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.6884, allocations: 12 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.6885, allocations: 23.91 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.6885, allocations: 3.938 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.6888, allocations: 83.75 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.6888, allocations: 8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.6888, allocations: 19.91 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.689, allocations: 67.86 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.689, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.327e-06/0.689, allocations: 3.984 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.689, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 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.0003727/0.6894, allocations: 341.3 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6895, allocations: 8.031 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.6896, allocations: 12.84 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.6897, allocations: 164.4 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.6897, allocations: 4.375 kB / 1.173 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.6897, allocations: 8.375 kB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.6898, allocations: 57.73 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.6899, allocations: 0 / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.6899, allocations: 4 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.6899, allocations: 3.984 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/0.6899, allocations: 19.92 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.6901, allocations: 169.7 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/0.6902, allocations: 50.55 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.6902, allocations: 16.86 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000685/0.6909, allocations: 0.6064 MB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.691, allocations: 34.56 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.691, allocations: 4 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0005551/0.6915, allocations: 298.5 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.6916, allocations: 51.41 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.6917, allocations: 101.8 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.6917, allocations: 25.7 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.6917, allocations: 87.98 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.6918, allocations: 27.7 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.6918, allocations: 29.7 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.6919, allocations: 318.8 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.988e-05/0.6919, allocations: 15.98 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.517e-05/0.692, allocations: 61.02 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.86e-05/0.6921, allocations: 73.09 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6921, allocations: 0 / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001325/0.6922, allocations: 89.55 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6923, allocations: 8 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6923, allocations: 4.125 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6923, allocations: 4 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.6924, allocations: 31.86 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.6924, allocations: 3.938 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.6925, allocations: 4 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.6925, allocations: 7.938 kB / 1.175 GB, free: 11.98 MB / 0.9044 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.882e-05/0.6925, allocations: 117.8 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.6926, allocations: 3.906 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.6926, allocations: 11.95 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6926, allocations: 8 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6926, allocations: 0 / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.6927, allocations: 77.39 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.6927, allocations: 7.938 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.6928, allocations: 7.984 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.6929, allocations: 11.97 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001575/0.693, allocations: 144.8 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002043/0.6932, allocations: 258.7 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.364e-05/0.6933, allocations: 16.03 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.6933, allocations: 83.28 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of Backend: time 3.1e-07/0.6933, allocations: 0 / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.6938, allocations: 141.8 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006489/0.6944, allocations: 0.7617 MB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.0033/0.6977, allocations: 1.012 MB / 1.177 GB, free: 9.23 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)