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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.001164/0.001164, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001519/0.001519, allocations: 177.3 kB / 15.94 MB, free: 228 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.38/1.38, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.009/1.009, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003678, allocations: 15.98 kB / 0.5158 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1683, allocations: 83.4 MB / 0.5973 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003679/0.1721, allocations: 2.534 MB / 0.5997 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00323/0.1753, allocations: 1.819 MB / 0.6015 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.1758, allocations: 11.94 kB / 0.6015 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.1763, allocations: 63.48 kB / 0.6016 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007484/0.177, allocations: 163.4 kB / 0.6017 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00086/0.1779, allocations: 286.7 kB / 0.602 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007673/0.1787, allocations: 356.6 kB / 0.6023 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.1791, allocations: 212 kB / 0.6025 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.1794, allocations: 147.1 kB / 0.6027 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.1798, allocations: 167 kB / 0.6028 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.737e-05/0.1799, allocations: 12 kB / 0.6029 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.1801, allocations: 51.92 kB / 0.6029 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1802, allocations: 99.58 kB / 0.603 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1804, allocations: 105.4 kB / 0.6031 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.1809, allocations: 0.5263 MB / 0.6036 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1809, allocations: 0 / 0.6036 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1809, allocations: 4 kB / 0.6036 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.181, allocations: 3.938 kB / 0.6036 GB, free: 1.332 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.001249/0.1822, allocations: 0.7594 MB / 0.6044 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1823, allocations: 12.03 kB / 0.6044 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.1826, allocations: 75.23 kB / 0.6045 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3211/0.5037, allocations: 446.4 kB / 0.6049 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.5038, allocations: 27.59 kB / 0.6049 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.5039, allocations: 38.05 kB / 0.6049 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.5046, allocations: 417.2 kB / 0.6053 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5047, allocations: 0.8438 kB / 0.6053 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.5047, allocations: 13.91 kB / 0.6054 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.5047, allocations: 11.66 kB / 0.6054 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.5052, allocations: 309.3 kB / 0.6057 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.5068, allocations: 1.233 MB / 0.6069 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.5073, allocations: 333.8 kB / 0.6072 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.5073, allocations: 12.44 kB / 0.6072 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.5074, allocations: 39.86 kB / 0.6072 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.963e-06/0.5074, allocations: 2.688 kB / 0.6072 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006721/0.5081, allocations: 403.7 kB / 0.6076 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.5081, allocations: 182.6 kB / 0.6078 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/0.5087, allocations: 0.5541 MB / 0.6083 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.5088, allocations: 39.7 kB / 0.6084 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.5089, allocations: 255 kB / 0.6086 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.509, allocations: 115.1 kB / 0.6087 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.509, allocations: 5.062 kB / 0.6087 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5091, allocations: 363.4 kB / 0.6091 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.5093, allocations: 104.8 kB / 0.6092 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.5095, allocations: 154.4 kB / 0.6093 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.5097, allocations: 107.9 kB / 0.6094 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5097, allocations: 0 / 0.6094 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004211/0.5101, allocations: 326.7 kB / 0.6097 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5101, allocations: 5.938 kB / 0.6097 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5101, allocations: 3.094 kB / 0.6097 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5102, allocations: 3.438 kB / 0.6097 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.5104, allocations: 51.03 kB / 0.6098 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.5104, allocations: 2.812 kB / 0.6098 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.5106, allocations: 51.11 kB / 0.6098 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.5106, allocations: 13.69 kB / 0.6099 GB, free: 39.32 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.0003125/0.5109, allocations: 204.3 kB / 0.6101 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.511, allocations: 53 kB / 0.6101 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.5116, allocations: 352 kB / 0.6104 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.5116, allocations: 7.516 kB / 0.6104 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5116, allocations: 2.906 kB / 0.6105 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5116, allocations: 4.062 kB / 0.6105 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.5121, allocations: 0.5214 MB / 0.611 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5121, allocations: 0 / 0.611 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.5123, allocations: 54.33 kB / 0.611 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5123, allocations: 2.844 kB / 0.611 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.5124, allocations: 5.875 kB / 0.611 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5124, allocations: 0 / 0.611 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5124, allocations: 3.094 kB / 0.611 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.5131, allocations: 0.6382 MB / 0.6117 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5133, allocations: 148.4 kB / 0.6118 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.5133, allocations: 7.688 kB / 0.6118 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.5135, allocations: 29.3 kB / 0.6118 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.5136, allocations: 27 kB / 0.6119 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.5136, allocations: 8.188 kB / 0.6119 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004779/0.5141, allocations: 407 kB / 0.6123 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5141, allocations: 0 / 0.6123 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004004/0.5145, allocations: 92.38 kB / 0.6123 GB, free: 38.42 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.0009258/0.5155, allocations: 417.2 kB / 0.6127 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.5159, allocations: 246.4 kB / 0.613 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5159, allocations: 0 / 0.613 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.5161, allocations: 143.5 kB / 0.6131 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.5166, allocations: 71.61 kB / 0.6132 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.5178, allocations: 1.01 MB / 0.6142 GB, free: 37.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.5181, allocations: 0.8662 MB / 0.615 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002216/0.5184, allocations: 102.3 kB / 0.6151 GB, free: 37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.5185, allocations: 51.44 kB / 0.6152 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.5185, allocations: 0 / 0.6152 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.008403/0.5269, allocations: 4.611 MB / 0.6197 GB, free: 36.56 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: