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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.001003/0.001004, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007958/0.007958, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9894/0.9894, allocations: 143.4 MB / 434.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 11.98 kB / 0.5166 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 83.4 MB / 0.5981 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003239/0.1648, allocations: 2.68 MB / 0.6007 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.1678, allocations: 1.9 MB / 0.6025 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.168, allocations: 8 kB / 0.6025 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1683, allocations: 71.48 kB / 0.6026 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1687, allocations: 147.3 kB / 0.6028 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.1694, allocations: 345.2 kB / 0.6031 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.17, allocations: 0.5585 MB / 0.6036 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.1704, allocations: 279.9 kB / 0.6039 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1705, allocations: 155 kB / 0.604 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.1709, allocations: 200.9 kB / 0.6042 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.1709, allocations: 16 kB / 0.6043 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.1711, allocations: 59.97 kB / 0.6043 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1712, allocations: 99.48 kB / 0.6044 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1714, allocations: 232.1 kB / 0.6046 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.172, allocations: 0.6421 MB / 0.6053 GB, free: 64 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.172, allocations: 0 / 0.6053 GB, free: 64 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.953e-06/0.172, allocations: 4 kB / 0.6053 GB, free: 60 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.172, allocations: 0 / 0.6053 GB, free: 60 kB / 0.4981 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.3027/0.4747, allocations: 0.7469 MB / 0.606 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4748, allocations: 9.344 kB / 0.606 GB, free: 41.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.4751, allocations: 71.69 kB / 0.6061 GB, free: 41.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.4756, allocations: 474.6 kB / 0.6065 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.4756, allocations: 27.16 kB / 0.6065 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.4757, allocations: 36.38 kB / 0.6066 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.4763, allocations: 423.7 kB / 0.607 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4763, allocations: 0 / 0.607 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.4764, allocations: 22.19 kB / 0.607 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.4764, allocations: 8.844 kB / 0.607 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.4769, allocations: 310.1 kB / 0.6073 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.4783, allocations: 1.231 MB / 0.6085 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.4788, allocations: 332.3 kB / 0.6088 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.479, allocations: 121.1 kB / 0.6089 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.479, allocations: 12.78 kB / 0.609 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.4791, allocations: 36.95 kB / 0.609 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.4791, allocations: 0 / 0.609 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007716/0.4798, allocations: 415 kB / 0.6094 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4799, allocations: 189.1 kB / 0.6096 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.4805, allocations: 0.5548 MB / 0.6101 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.4806, allocations: 32.17 kB / 0.6101 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.4807, allocations: 264 kB / 0.6104 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.4808, allocations: 108.4 kB / 0.6105 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.4808, allocations: 38.3 kB / 0.6105 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.4809, allocations: 361.7 kB / 0.6109 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.4811, allocations: 106.4 kB / 0.611 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.4813, allocations: 158 kB / 0.6111 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.4816, allocations: 229.6 kB / 0.6113 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4816, allocations: 3.469 kB / 0.6113 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004464/0.482, allocations: 320.6 kB / 0.6117 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4821, allocations: 9.844 kB / 0.6117 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4821, allocations: 0 / 0.6117 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4821, allocations: 2.969 kB / 0.6117 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.4823, allocations: 61.33 kB / 0.6117 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.4823, allocations: 3.328 kB / 0.6117 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.4825, allocations: 46.94 kB / 0.6118 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.4826, allocations: 11.62 kB / 0.6118 GB, free: 39.51 MB / 0.4981 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.0002772/0.4828, allocations: 205.8 kB / 0.612 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.4829, allocations: 57.31 kB / 0.612 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.4835, allocations: 352.3 kB / 0.6124 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4835, allocations: 2.906 kB / 0.6124 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4835, allocations: 0 / 0.6124 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4835, allocations: 0 / 0.6124 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.4841, allocations: 0.5132 MB / 0.6129 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4841, allocations: 3.281 kB / 0.6129 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.4843, allocations: 52.58 kB / 0.6129 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4843, allocations: 6.75 kB / 0.6129 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.4844, allocations: 6.906 kB / 0.6129 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4844, allocations: 8.25 kB / 0.6129 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.4844, allocations: 0 / 0.6129 GB, free: 39.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007821/0.4852, allocations: 0.6199 MB / 0.6136 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.4853, allocations: 152.5 kB / 0.6137 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.4853, allocations: 17.67 kB / 0.6137 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.4856, allocations: 21.77 kB / 0.6137 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.4857, allocations: 26.94 kB / 0.6138 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.4857, allocations: 11.72 kB / 0.6138 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005016/0.4862, allocations: 408.5 kB / 0.6142 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4862, allocations: 0 / 0.6142 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000423/0.4866, allocations: 90.66 kB / 0.6143 GB, free: 38.62 MB / 0.4981 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.0008961/0.4875, allocations: 421.4 kB / 0.6147 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.488, allocations: 250 kB / 0.6149 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.488, allocations: 0 / 0.6149 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.4882, allocations: 143.8 kB / 0.615 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.4889, allocations: 82.81 kB / 0.6151 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4901, allocations: 1.066 MB / 0.6161 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.4904, allocations: 0.8583 MB / 0.617 GB, free: 37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002326/0.4906, allocations: 92.12 kB / 0.6171 GB, free: 36.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.4907, allocations: 50.91 kB / 0.6171 GB, free: 36.97 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4907, allocations: 0 / 0.6171 GB, free: 36.97 MB / 0.4981 GB Notification: Performance of Templates: time 0.00872/0.4995, allocations: 4.748 MB / 0.6218 GB, free: 36.53 MB / 0.4981 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)