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: "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001152/0.001151, allocations: 168.7 kB / 15.95 MB, free: 204 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.51/1.51, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.195/1.195, allocations: 143.4 MB / 434.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003484, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2206, allocations: 83.41 MB / 0.5975 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003755/0.2244, allocations: 2.561 MB / 0.6 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.2272, allocations: 1.842 MB / 0.6018 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.2274, allocations: 11.94 kB / 0.6018 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.2278, allocations: 75.47 kB / 0.6019 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.2282, allocations: 115.4 kB / 0.602 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.2288, allocations: 290.3 kB / 0.6023 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000592/0.2294, allocations: 0.5273 MB / 0.6028 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004321/0.2299, allocations: 216.3 kB / 0.603 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.2301, allocations: 143.1 kB / 0.6031 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.2305, allocations: 198.8 kB / 0.6033 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.52e-05/0.2306, allocations: 20 kB / 0.6034 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.2308, allocations: 47.98 kB / 0.6034 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.2309, allocations: 91.55 kB / 0.6035 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.231, allocations: 117.4 kB / 0.6036 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005538/0.2316, allocations: 0.5222 MB / 0.6041 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2316, allocations: 3.938 kB / 0.6041 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.069e-06/0.2316, allocations: 0 / 0.6041 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.2316, allocations: 3.938 kB / 0.6041 GB, free: 0.9375 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.001583/0.2332, allocations: 0.7596 MB / 0.6049 GB, free: 128 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.2333, allocations: 12.03 kB / 0.6049 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.2334, allocations: 78.53 kB / 0.6049 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4019/0.6354, allocations: 70.16 kB / 0.605 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008416/0.6363, allocations: 446.4 kB / 0.6054 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.6363, allocations: 32.78 kB / 0.6055 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.6364, allocations: 35.7 kB / 0.6055 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.6371, allocations: 420.4 kB / 0.6059 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.6372, allocations: 0.7812 kB / 0.6059 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.6372, allocations: 15.09 kB / 0.6059 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.6372, allocations: 9.188 kB / 0.6059 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.6377, allocations: 317.8 kB / 0.6062 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.6392, allocations: 1.236 MB / 0.6074 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.6397, allocations: 335.9 kB / 0.6078 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.6399, allocations: 116 kB / 0.6079 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.6399, allocations: 10 kB / 0.6079 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.64, allocations: 45.38 kB / 0.6079 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/0.64, allocations: 3.234 kB / 0.6079 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006937/0.6407, allocations: 400.2 kB / 0.6083 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.6408, allocations: 186.7 kB / 0.6085 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/0.6414, allocations: 0.5522 MB / 0.609 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.6415, allocations: 35.39 kB / 0.6091 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.6416, allocations: 268.1 kB / 0.6093 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.6417, allocations: 101.4 kB / 0.6094 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.6417, allocations: 3.438 kB / 0.6094 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6418, allocations: 362.9 kB / 0.6098 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.642, allocations: 107.5 kB / 0.6099 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.6422, allocations: 159.6 kB / 0.61 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.6424, allocations: 108.8 kB / 0.6101 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6424, allocations: 3.812 kB / 0.6101 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005557/0.643, allocations: 313.5 kB / 0.6104 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.643, allocations: 11.48 kB / 0.6104 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.643, allocations: 0.5 kB / 0.6104 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.6431, allocations: 3 kB / 0.6104 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.6433, allocations: 56.16 kB / 0.6105 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.6433, allocations: 4.328 kB / 0.6105 GB, free: 39.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.6435, allocations: 54.59 kB / 0.6105 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.6435, allocations: 6.062 kB / 0.6106 GB, free: 39.06 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.0003258/0.6439, allocations: 198 kB / 0.6107 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.644, allocations: 56.38 kB / 0.6108 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005736/0.6446, allocations: 360.5 kB / 0.6111 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6446, allocations: 4.234 kB / 0.6111 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6446, allocations: 1.062 kB / 0.6111 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.6446, allocations: 3.844 kB / 0.6111 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.6452, allocations: 0.5116 MB / 0.6116 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6452, allocations: 4 kB / 0.6117 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.6454, allocations: 54.06 kB / 0.6117 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6454, allocations: 3 kB / 0.6117 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.6454, allocations: 6.062 kB / 0.6117 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6454, allocations: 4.828 kB / 0.6117 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6455, allocations: 2.812 kB / 0.6117 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009258/0.6464, allocations: 0.6241 MB / 0.6123 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.6465, allocations: 148.3 kB / 0.6125 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.6466, allocations: 7.375 kB / 0.6125 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.6468, allocations: 30.88 kB / 0.6125 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.6469, allocations: 29.34 kB / 0.6125 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.647, allocations: 17.06 kB / 0.6125 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005322/0.6475, allocations: 400.4 kB / 0.6129 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6475, allocations: 0 / 0.6129 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004273/0.6479, allocations: 100.4 kB / 0.613 GB, free: 38.17 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.001947/0.6499, allocations: 1.451 MB / 0.6144 GB, free: 37.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.6504, allocations: 248.4 kB / 0.6147 GB, free: 37.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6504, allocations: 0 / 0.6147 GB, free: 37.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.6507, allocations: 145.1 kB / 0.6148 GB, free: 37.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.6513, allocations: 80.7 kB / 0.6149 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.6564, allocations: 2.767 MB / 0.6176 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.6568, allocations: 0.8655 MB / 0.6184 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.6571, allocations: 96.62 kB / 0.6185 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.6574, allocations: 198.1 kB / 0.6187 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.6574, allocations: 4 kB / 0.6187 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.6894, allocations: 9.41 MB / 0.6279 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.6896, allocations: 260 kB / 0.6282 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.946, allocations: 2.719 kB / 0.6282 GB, free: 34.12 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_ComparisonDHWScenario.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1) Environment - environmentSimulation: