Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 109.9 kB / 16.41 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.00114/0.00114, allocations: 187 kB / 17.34 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8004/0.8004, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 64.7 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1437, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002213/0.146, allocations: 1.261 MB / 0.6775 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.1494, allocations: 3.264 MB / 0.6807 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.1495, allocations: 0 / 0.6807 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.1495, allocations: 7.922 kB / 0.6807 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.385e-05/0.1496, allocations: 3.938 kB / 0.6807 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.1501, allocations: 103.5 kB / 0.6808 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.835e-05/0.1502, allocations: 39.89 kB / 0.6808 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.1502, allocations: 4 kB / 0.6808 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.1503, allocations: 23.86 kB / 0.6809 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.1503, allocations: 23.91 kB / 0.6809 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1504, allocations: 0 / 0.6809 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.1506, allocations: 75.81 kB / 0.681 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.1506, allocations: 7.984 kB / 0.681 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.1507, allocations: 11.94 kB / 0.681 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1508, allocations: 75.78 kB / 0.6811 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.1508, allocations: 4 kB / 0.6811 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1509, allocations: 0 / 0.6811 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1509, allocations: 0 / 0.6811 GB, free: 5.418 MB / 0.5137 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.0003689/0.1512, allocations: 346.5 kB / 0.6814 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1513, allocations: 12.03 kB / 0.6814 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.366e-05/0.1514, allocations: 8.844 kB / 0.6814 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.1515, allocations: 168.3 kB / 0.6816 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1515, allocations: 384 / 0.6816 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1515, allocations: 12.38 kB / 0.6816 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1517, allocations: 61.78 kB / 0.6816 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1517, allocations: 0 / 0.6816 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1517, allocations: 8 kB / 0.6816 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1517, allocations: 0 / 0.6816 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.1517, allocations: 15.97 kB / 0.6817 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1519, allocations: 161.7 kB / 0.6818 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/0.152, allocations: 54.5 kB / 0.6819 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.152, allocations: 28.84 kB / 0.6819 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006216/0.1527, allocations: 0.587 MB / 0.6825 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1527, allocations: 38.56 kB / 0.6825 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1527, allocations: 0 / 0.6825 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005373/0.1532, allocations: 302.2 kB / 0.6828 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.1533, allocations: 59.28 kB / 0.6829 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.1534, allocations: 97.86 kB / 0.6829 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1534, allocations: 33.64 kB / 0.683 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.1534, allocations: 84.05 kB / 0.6831 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1534, allocations: 35.61 kB / 0.6831 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1535, allocations: 25.72 kB / 0.6831 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.1536, allocations: 318.8 kB / 0.6834 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.1536, allocations: 16 kB / 0.6834 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.1537, allocations: 53.14 kB / 0.6835 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.1537, allocations: 73.08 kB / 0.6836 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1538, allocations: 0 / 0.6836 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000124/0.1539, allocations: 93.55 kB / 0.6836 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1539, allocations: 4 kB / 0.6836 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1539, allocations: 4 kB / 0.6837 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1539, allocations: 0 / 0.6837 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.154, allocations: 27.92 kB / 0.6837 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.154, allocations: 4.203 kB / 0.6837 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.1541, allocations: 7.938 kB / 0.6837 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1541, allocations: 7.984 kB / 0.6837 GB, free: 2.305 MB / 0.5137 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.821e-05/0.1541, allocations: 117.8 kB / 0.6838 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1542, allocations: 8.188 kB / 0.6838 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.1542, allocations: 7.969 kB / 0.6838 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1542, allocations: 3.984 kB / 0.6838 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1542, allocations: 0 / 0.6838 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1542, allocations: 4.375 kB / 0.6838 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.1545, allocations: 177.7 kB / 0.684 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1545, allocations: 0 / 0.684 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.042e-05/0.1545, allocations: 23.98 kB / 0.684 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1546, allocations: 0 / 0.684 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1546, allocations: 3.938 kB / 0.684 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1546, allocations: 0 / 0.684 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1546, allocations: 0 / 0.684 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1547, allocations: 179.4 kB / 0.6842 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.1548, allocations: 81.02 kB / 0.6843 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1548, allocations: 8 kB / 0.6843 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1549, allocations: 8.031 kB / 0.6843 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.155, allocations: 4 kB / 0.6843 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.155, allocations: 3.938 kB / 0.6843 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.116e-05/0.155, allocations: 83.27 kB / 0.6844 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.155, allocations: 0 / 0.6844 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002272/0.1552, allocations: 16 kB / 0.6844 GB, free: 1.5 MB / 0.5137 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.0001155/0.1554, allocations: 103.2 kB / 0.6845 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.1555, allocations: 43.92 kB / 0.6845 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1555, allocations: 0 / 0.6845 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.1555, allocations: 15.94 kB / 0.6846 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1558, allocations: 7.984 kB / 0.6846 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.1563, allocations: 352.3 kB / 0.6849 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.1565, allocations: 0.6854 MB / 0.6856 GB, free: 240 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.1565, allocations: 15.44 kB / 0.6856 GB, free: 224 kB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1565, allocations: 0 / 0.6856 GB, free: 224 kB / 0.5137 GB Notification: Performance of Templates: time 0.002025/0.1586, allocations: 0.7886 MB / 0.6863 GB, free: 15.43 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)