Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.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.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.001512/0.001512, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 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.8653/0.8653, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 65.69 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.147, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004444/0.1515, allocations: 3.074 MB / 0.6793 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.1544, allocations: 1.967 MB / 0.6812 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1546, allocations: 8 kB / 0.6812 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1549, allocations: 91.11 kB / 0.6813 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.1554, allocations: 194.9 kB / 0.6815 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007119/0.1561, allocations: 377.7 kB / 0.6818 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006876/0.1568, allocations: 0.6169 MB / 0.6824 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.1571, allocations: 211.7 kB / 0.6826 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1574, allocations: 231 kB / 0.6829 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.1578, allocations: 258.7 kB / 0.6831 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.1579, allocations: 60 kB / 0.6832 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.1581, allocations: 115.8 kB / 0.6833 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1582, allocations: 151.5 kB / 0.6834 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.1585, allocations: 274.3 kB / 0.6837 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.1593, allocations: 0.7003 MB / 0.6844 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1593, allocations: 0 / 0.6844 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1593, allocations: 3.938 kB / 0.6844 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1593, allocations: 0 / 0.6844 GB, free: 2.047 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001237/0.1605, allocations: 0.8796 MB / 0.6852 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1606, allocations: 12.03 kB / 0.6852 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.1609, allocations: 76.5 kB / 0.6853 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.1615, allocations: 466.1 kB / 0.6858 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.1615, allocations: 29.38 kB / 0.6858 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.1616, allocations: 40.12 kB / 0.6858 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.1622, allocations: 420.9 kB / 0.6862 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1622, allocations: 7.875 kB / 0.6862 GB, free: 24 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.1623, allocations: 16 kB / 0.6862 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1623, allocations: 8 kB / 0.6863 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.1629, allocations: 306.4 kB / 0.6865 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.1645, allocations: 1.214 MB / 0.6877 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.1651, allocations: 323.1 kB / 0.688 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.1653, allocations: 106.3 kB / 0.6881 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.1653, allocations: 8.219 kB / 0.6881 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1654, allocations: 42.83 kB / 0.6882 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.1654, allocations: 0 / 0.6882 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0007823/0.1661, allocations: 395.3 kB / 0.6886 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.1663, allocations: 195.9 kB / 0.6888 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/0.167, allocations: 0.5605 MB / 0.6893 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.167, allocations: 33.7 kB / 0.6893 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1672, allocations: 272.5 kB / 0.6896 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.994e-05/0.1673, allocations: 107.1 kB / 0.6897 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1674, allocations: 57.97 kB / 0.6897 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.1676, allocations: 362.8 kB / 0.6901 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.1678, allocations: 109.6 kB / 0.6902 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.168, allocations: 154.8 kB / 0.6903 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.1684, allocations: 223.3 kB / 0.6906 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1684, allocations: 0 / 0.6906 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005472/0.169, allocations: 322.1 kB / 0.6909 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.169, allocations: 7.984 kB / 0.6909 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.169, allocations: 7.938 kB / 0.6909 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.169, allocations: 0 / 0.6909 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.1692, allocations: 47.98 kB / 0.6909 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1692, allocations: 3.938 kB / 0.6909 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.1694, allocations: 47.81 kB / 0.691 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.1694, allocations: 12 kB / 0.691 GB, free: 10.93 MB / 0.5294 GB Warning: Assuming fixed start value for the following 2 variables: scenarioAutre.Conso:VARIABLE(flow=false fixed = true ) "Consumption en L" type: Real scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) "Hot water consumption at 40°C [L]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.booleanToReal.u,scenarioRT.greaterThreshold3.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.000298/0.1697, allocations: 197.7 kB / 0.6912 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1698, allocations: 59.61 kB / 0.6912 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.1705, allocations: 338.3 kB / 0.6916 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.1705, allocations: 4 kB / 0.6916 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1705, allocations: 4 kB / 0.6916 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1705, allocations: 8.016 kB / 0.6916 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/0.1711, allocations: 0.5286 MB / 0.6921 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1711, allocations: 0 / 0.6921 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.1714, allocations: 55.92 kB / 0.6921 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1714, allocations: 7.984 kB / 0.6921 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.1714, allocations: 4 kB / 0.6922 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1714, allocations: 4 kB / 0.6922 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1714, allocations: 0 / 0.6922 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.1722, allocations: 0.6165 MB / 0.6928 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1723, allocations: 132.7 kB / 0.6929 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.1724, allocations: 11.98 kB / 0.6929 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1726, allocations: 19.98 kB / 0.6929 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.1727, allocations: 23.97 kB / 0.6929 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1727, allocations: 8 kB / 0.6929 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005147/0.1732, allocations: 414.9 kB / 0.6933 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1732, allocations: 3.938 kB / 0.6933 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004042/0.1736, allocations: 91.77 kB / 0.6934 GB, free: 8.328 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001328/0.1749, allocations: 411.3 kB / 0.6938 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00048/0.1754, allocations: 239.8 kB / 0.6941 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1754, allocations: 0 / 0.6941 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.1757, allocations: 127.8 kB / 0.6942 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.1762, allocations: 97.11 kB / 0.6943 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1777, allocations: 0.9063 MB / 0.6952 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.1782, allocations: 0.8552 MB / 0.696 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.1783, allocations: 59.41 kB / 0.696 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1783, allocations: 0 / 0.696 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of Templates: time 0.01049/0.1888, allocations: 6.935 MB / 0.7028 GB, free: 14.82 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.sim & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1)