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.007677/0.007677, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001644/0.001644, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 286.6 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9526/0.9526, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 91.84 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1445, allocations: 86.98 MB / 0.7663 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.00194/0.1464, allocations: 1.268 MB / 0.7676 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003264/0.1497, allocations: 3.261 MB / 0.7708 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.1498, allocations: 4 kB / 0.7708 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.1498, allocations: 3.938 kB / 0.7708 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.247e-05/0.1498, allocations: 3.938 kB / 0.7708 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1503, allocations: 99.53 kB / 0.7709 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.1504, allocations: 51.83 kB / 0.7709 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.901e-05/0.1504, allocations: 0 / 0.7709 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.1504, allocations: 12 kB / 0.7709 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.1505, allocations: 19.91 kB / 0.771 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1505, allocations: 4 kB / 0.771 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.1507, allocations: 75.81 kB / 0.771 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.1508, allocations: 15.97 kB / 0.771 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.1508, allocations: 11.94 kB / 0.7711 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1509, allocations: 67.78 kB / 0.7711 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.151, allocations: 4 kB / 0.7711 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.151, allocations: 7.938 kB / 0.7711 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.151, allocations: 0 / 0.7711 GB, free: 3.543 MB / 0.5606 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.0003585/0.1513, allocations: 347.4 kB / 0.7715 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.1514, allocations: 8.031 kB / 0.7715 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.1515, allocations: 8.922 kB / 0.7715 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.429e-05/0.1516, allocations: 164.4 kB / 0.7716 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1516, allocations: 4.375 kB / 0.7716 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1516, allocations: 8.312 kB / 0.7717 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.1517, allocations: 61.8 kB / 0.7717 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1518, allocations: 0 / 0.7717 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1518, allocations: 0 / 0.7717 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1518, allocations: 0 / 0.7717 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.1518, allocations: 23.92 kB / 0.7717 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.152, allocations: 165.6 kB / 0.7719 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.461e-05/0.1521, allocations: 46.56 kB / 0.7719 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.1521, allocations: 20.84 kB / 0.772 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000701/0.1528, allocations: 0.5949 MB / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1529, allocations: 30.56 kB / 0.7726 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1529, allocations: 0 / 0.7726 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005247/0.1534, allocations: 302.5 kB / 0.7729 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1534, allocations: 59.41 kB / 0.7729 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.1535, allocations: 101.8 kB / 0.773 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1535, allocations: 25.7 kB / 0.773 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.1536, allocations: 88.05 kB / 0.7731 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1536, allocations: 31.7 kB / 0.7731 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1536, allocations: 21.72 kB / 0.7732 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1537, allocations: 318.8 kB / 0.7735 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.1538, allocations: 16.05 kB / 0.7735 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.1538, allocations: 61.08 kB / 0.7735 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.393e-05/0.1539, allocations: 81.2 kB / 0.7736 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1539, allocations: 3.938 kB / 0.7736 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001349/0.1541, allocations: 97.45 kB / 0.7737 GB, free: 496 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1541, allocations: 8 kB / 0.7737 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1541, allocations: 0 / 0.7737 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1541, allocations: 3.984 kB / 0.7737 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.1542, allocations: 20 kB / 0.7737 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1542, allocations: 0 / 0.7737 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.1543, allocations: 7.938 kB / 0.7738 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1543, allocations: 8.125 kB / 0.7738 GB, free: 448 kB / 0.5606 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.662e-05/0.1543, allocations: 114.4 kB / 0.7739 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1544, allocations: 7.984 kB / 0.7739 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.1544, allocations: 7.969 kB / 0.7739 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1544, allocations: 4 kB / 0.7739 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1544, allocations: 0 / 0.7739 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1544, allocations: 3.938 kB / 0.7739 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1547, allocations: 173.7 kB / 0.7741 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1547, allocations: 0 / 0.7741 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.1548, allocations: 16 kB / 0.7741 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1548, allocations: 3.984 kB / 0.7741 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1548, allocations: 0 / 0.7741 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1548, allocations: 4 kB / 0.7741 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1548, allocations: 0 / 0.7741 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2928/0.4476, allocations: 173 kB / 0.7742 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.4477, allocations: 81.22 kB / 0.7743 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.4477, allocations: 1.734 kB / 0.7743 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4479, allocations: 7.922 kB / 0.7743 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.4479, allocations: 8.047 kB / 0.7743 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.4479, allocations: 3.219 kB / 0.7743 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.27e-05/0.4479, allocations: 79.42 kB / 0.7744 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4479, allocations: 0 / 0.7744 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002872/0.4482, allocations: 16.72 kB / 0.7744 GB, free: 15.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001043/0.4483, allocations: 102.3 kB / 0.7745 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.4485, allocations: 42.42 kB / 0.7746 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4485, allocations: 1.281 kB / 0.7746 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.4485, allocations: 19.34 kB / 0.7746 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.4488, allocations: 9.844 kB / 0.7746 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.4493, allocations: 326.4 kB / 0.7749 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.022e-05/0.4494, allocations: 0.6864 MB / 0.7756 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.549e-05/0.4495, allocations: 8.797 kB / 0.7756 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.4495, allocations: 11.25 kB / 0.7756 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.4495, allocations: 0 / 0.7756 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.002673/0.4522, allocations: 0.6322 MB / 0.7762 GB, free: 14.2 MB / 0.5606 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)