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.0009219/0.000922, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001134/0.001134, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 223.2 MB / 240 MB, free: 5.336 MB / 190.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.9342/0.9342, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 8 kB / 0.5158 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 83.41 MB / 0.5972 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.00303/0.1324, allocations: 2.561 MB / 0.5997 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.135, allocations: 1.831 MB / 0.6015 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.1353, allocations: 7.938 kB / 0.6015 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1356, allocations: 71.5 kB / 0.6016 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.136, allocations: 131.3 kB / 0.6017 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.1367, allocations: 280.7 kB / 0.602 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.1372, allocations: 0.5234 MB / 0.6025 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.1376, allocations: 224 kB / 0.6027 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1377, allocations: 147 kB / 0.6028 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.1381, allocations: 196.9 kB / 0.603 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.1381, allocations: 12 kB / 0.603 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1383, allocations: 55.98 kB / 0.6031 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1384, allocations: 95.53 kB / 0.6032 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.1385, allocations: 105.4 kB / 0.6033 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.1389, allocations: 0.5342 MB / 0.6038 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.139, allocations: 4 kB / 0.6038 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.139, allocations: 0 / 0.6038 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.139, allocations: 0 / 0.6038 GB, free: 1.324 MB / 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.001014/0.14, allocations: 0.7672 MB / 0.6046 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.14, allocations: 8.031 kB / 0.6046 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.1403, allocations: 71.23 kB / 0.6046 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2329/0.3732, allocations: 444.2 kB / 0.6051 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.3733, allocations: 30.25 kB / 0.6051 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.3734, allocations: 33.72 kB / 0.6051 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.374, allocations: 418.7 kB / 0.6055 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.374, allocations: 2 kB / 0.6055 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.3741, allocations: 18.12 kB / 0.6055 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3741, allocations: 10 kB / 0.6056 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.3745, allocations: 308 kB / 0.6058 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.3759, allocations: 1.233 MB / 0.6071 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.3764, allocations: 333.6 kB / 0.6074 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3765, allocations: 119.7 kB / 0.6075 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3766, allocations: 13.44 kB / 0.6075 GB, free: 40.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.3766, allocations: 42.23 kB / 0.6075 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.305e-06/0.3766, allocations: 2.109 kB / 0.6075 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006204/0.3772, allocations: 402.6 kB / 0.6079 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3773, allocations: 185.3 kB / 0.6081 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.3778, allocations: 0.5555 MB / 0.6086 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3778, allocations: 39.11 kB / 0.6087 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.378, allocations: 264.7 kB / 0.6089 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.378, allocations: 105.3 kB / 0.609 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.378, allocations: 6.156 kB / 0.609 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.276e-05/0.3781, allocations: 363.4 kB / 0.6094 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3783, allocations: 102.3 kB / 0.6095 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3784, allocations: 161.9 kB / 0.6096 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3786, allocations: 100.1 kB / 0.6097 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3786, allocations: 2.781 kB / 0.6097 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004093/0.379, allocations: 324 kB / 0.61 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3791, allocations: 5.656 kB / 0.6101 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3791, allocations: 1.562 kB / 0.6101 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3791, allocations: 6.453 kB / 0.6101 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.3793, allocations: 53.31 kB / 0.6101 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3793, allocations: 2.969 kB / 0.6101 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.3795, allocations: 44.58 kB / 0.6102 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3795, allocations: 19.48 kB / 0.6102 GB, free: 39.42 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) "Hot water consumption at 40°C [L]" type: Real scenarioAutre.Conso:VARIABLE(flow=false fixed = true ) "Consumption en 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.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 initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.3797, allocations: 203.5 kB / 0.6104 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/0.3798, allocations: 51.03 kB / 0.6104 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.3803, allocations: 340.3 kB / 0.6107 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3804, allocations: 10.47 kB / 0.6108 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3804, allocations: 0 / 0.6108 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3804, allocations: 7.047 kB / 0.6108 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.3808, allocations: 0.5241 MB / 0.6113 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3808, allocations: 1.125 kB / 0.6113 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.381, allocations: 54.36 kB / 0.6113 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3811, allocations: 2.969 kB / 0.6113 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3811, allocations: 6.281 kB / 0.6113 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3811, allocations: 0 / 0.6113 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3811, allocations: 0 / 0.6113 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.3818, allocations: 0.6293 MB / 0.6119 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.3819, allocations: 151.9 kB / 0.6121 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.3819, allocations: 7.375 kB / 0.6121 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3821, allocations: 30.22 kB / 0.6121 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.3822, allocations: 27.7 kB / 0.6122 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3822, allocations: 10.75 kB / 0.6122 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000411/0.3826, allocations: 399.7 kB / 0.6125 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3827, allocations: 0 / 0.6125 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003863/0.383, allocations: 95.53 kB / 0.6126 GB, free: 38.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008113/0.3839, allocations: 415.7 kB / 0.613 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.3843, allocations: 247.7 kB / 0.6133 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3843, allocations: 1.172 kB / 0.6133 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.3845, allocations: 143.2 kB / 0.6134 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.385, allocations: 79.27 kB / 0.6135 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.386, allocations: 1.014 MB / 0.6145 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.3863, allocations: 0.8584 MB / 0.6153 GB, free: 37.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.3865, allocations: 93.77 kB / 0.6154 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3866, allocations: 52.2 kB / 0.6154 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.3866, allocations: 0 / 0.6154 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.007261/0.3939, allocations: 4.625 MB / 0.62 GB, free: 36.7 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)