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.00105/0.001049, allocations: 99.86 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.0008853/0.0008854, 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.299/1.299, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.965/0.965, allocations: 143.3 MB / 434.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 12 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1606, allocations: 83.41 MB / 0.5973 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003103/0.1638, allocations: 2.534 MB / 0.5998 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.1664, allocations: 1.811 MB / 0.6016 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.1667, allocations: 8 kB / 0.6016 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1669, allocations: 67.48 kB / 0.6017 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.1674, allocations: 163.4 kB / 0.6018 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.168, allocations: 282.7 kB / 0.6021 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.1685, allocations: 356.6 kB / 0.6024 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.1689, allocations: 220.3 kB / 0.6026 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.169, allocations: 139.2 kB / 0.6028 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.1694, allocations: 178.9 kB / 0.6029 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.1694, allocations: 12 kB / 0.6029 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1696, allocations: 59.84 kB / 0.603 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1697, allocations: 87.61 kB / 0.6031 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.1698, allocations: 105.4 kB / 0.6032 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.1703, allocations: 0.5378 MB / 0.6037 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1703, allocations: 0 / 0.6037 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1703, allocations: 0 / 0.6037 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1704, allocations: 4 kB / 0.6037 GB, free: 1.238 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.001188/0.1715, allocations: 0.7672 MB / 0.6045 GB, free: 428 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1716, allocations: 8.031 kB / 0.6045 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.647e-05/0.1717, allocations: 74.53 kB / 0.6045 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.172, allocations: 75.19 kB / 0.6046 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2543/0.4263, allocations: 445.8 kB / 0.605 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.4264, allocations: 28.72 kB / 0.6051 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.4265, allocations: 38.53 kB / 0.6051 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.4271, allocations: 413.6 kB / 0.6055 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4271, allocations: 0 / 0.6055 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.4272, allocations: 15.72 kB / 0.6055 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.4272, allocations: 8.25 kB / 0.6055 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.4276, allocations: 317.6 kB / 0.6058 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.429, allocations: 1.23 MB / 0.607 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.4295, allocations: 330.1 kB / 0.6073 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-05/0.4295, allocations: 11.28 kB / 0.6073 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.4295, allocations: 43.36 kB / 0.6074 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.4295, allocations: 0 / 0.6074 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.000612/0.4301, allocations: 401.4 kB / 0.6078 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.4302, allocations: 193 kB / 0.608 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.4308, allocations: 0.5492 MB / 0.6085 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.4308, allocations: 38.39 kB / 0.6085 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.4309, allocations: 264.5 kB / 0.6088 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.431, allocations: 104.5 kB / 0.6089 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.431, allocations: 10 kB / 0.6089 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.4311, allocations: 358.5 kB / 0.6092 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4313, allocations: 104.8 kB / 0.6093 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.4314, allocations: 155.2 kB / 0.6095 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4316, allocations: 112.8 kB / 0.6096 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4316, allocations: 1.859 kB / 0.6096 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004039/0.432, allocations: 312.6 kB / 0.6099 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.432, allocations: 4.75 kB / 0.6099 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4321, allocations: 2.812 kB / 0.6099 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4321, allocations: 6.781 kB / 0.6099 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.4323, allocations: 52.67 kB / 0.61 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4323, allocations: 5.203 kB / 0.61 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.4325, allocations: 51.36 kB / 0.61 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.4325, allocations: 6.328 kB / 0.61 GB, free: 39.16 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.0002347/0.4327, allocations: 208.9 kB / 0.6102 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.4328, allocations: 52.97 kB / 0.6103 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004966/0.4333, allocations: 354.3 kB / 0.6106 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.4333, allocations: 6.641 kB / 0.6106 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4334, allocations: 9.75 kB / 0.6106 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4334, allocations: 7.234 kB / 0.6106 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.4338, allocations: 0.5103 MB / 0.6111 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4338, allocations: 0 / 0.6111 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.434, allocations: 58.05 kB / 0.6112 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4341, allocations: 0 / 0.6112 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.4341, allocations: 9.125 kB / 0.6112 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4341, allocations: 0 / 0.6112 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4341, allocations: 0.9375 kB / 0.6112 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006898/0.4348, allocations: 0.6396 MB / 0.6118 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.4349, allocations: 150.4 kB / 0.612 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.435, allocations: 10.77 kB / 0.612 GB, free: 38.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.4352, allocations: 25.66 kB / 0.612 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.4353, allocations: 31.61 kB / 0.612 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.4353, allocations: 10.72 kB / 0.612 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004094/0.4357, allocations: 404.1 kB / 0.6124 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4357, allocations: 0 / 0.6124 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003794/0.4361, allocations: 94.75 kB / 0.6125 GB, free: 38.26 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.001487/0.4376, allocations: 1.543 MB / 0.614 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.438, allocations: 244.7 kB / 0.6142 GB, free: 37.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.438, allocations: 0 / 0.6142 GB, free: 37.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.4382, allocations: 151.8 kB / 0.6144 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.4386, allocations: 67.72 kB / 0.6145 GB, free: 37.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.4422, allocations: 3.181 MB / 0.6176 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.4424, allocations: 0.8757 MB / 0.6184 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.4427, allocations: 87.95 kB / 0.6185 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.4429, allocations: 193.9 kB / 0.6187 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.4429, allocations: 0 / 0.6187 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.4724, allocations: 9.4 MB / 0.6279 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.4726, allocations: 249.4 kB / 0.6281 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.353, allocations: 0 / 0.6281 GB, free: 33.74 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: