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: "" <> 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.0007078/0.0007082, allocations: 97.64 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.005348/0.005348, allocations: 170.5 kB / 16.27 MB, free: 6.32 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.193/1.193, allocations: 223.3 MB / 240.3 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.8699/0.8699, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 12 kB / 0.5165 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 83.42 MB / 0.598 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.002706/0.1263, allocations: 2.673 MB / 0.6006 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1285, allocations: 1.9 MB / 0.6024 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.1286, allocations: 4 kB / 0.6024 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1289, allocations: 71.5 kB / 0.6025 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.1292, allocations: 159.3 kB / 0.6026 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.1298, allocations: 338.7 kB / 0.603 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.1303, allocations: 0.5623 MB / 0.6035 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.1306, allocations: 271.9 kB / 0.6038 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1307, allocations: 147 kB / 0.6039 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.131, allocations: 214.6 kB / 0.6041 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.1311, allocations: 16 kB / 0.6041 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1312, allocations: 59.97 kB / 0.6042 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.1313, allocations: 99.47 kB / 0.6043 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1315, allocations: 240.1 kB / 0.6045 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.132, allocations: 0.6344 MB / 0.6051 GB, free: 184 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.132, allocations: 0 / 0.6051 GB, free: 184 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.132, allocations: 0 / 0.6051 GB, free: 184 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.132, allocations: 0 / 0.6051 GB, free: 184 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.2047/0.3367, allocations: 0.7502 MB / 0.6059 GB, free: 40.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3368, allocations: 11.16 kB / 0.6059 GB, free: 40.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.727e-05/0.3368, allocations: 82.59 kB / 0.606 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.3371, allocations: 72.19 kB / 0.606 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.3376, allocations: 468.1 kB / 0.6065 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3376, allocations: 28.25 kB / 0.6065 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.3376, allocations: 37.59 kB / 0.6065 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.3382, allocations: 422.2 kB / 0.6069 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3382, allocations: 3.938 kB / 0.6069 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.3382, allocations: 18.81 kB / 0.607 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3382, allocations: 8.75 kB / 0.607 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.3387, allocations: 316.9 kB / 0.6073 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3399, allocations: 1.226 MB / 0.6085 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.3403, allocations: 339.8 kB / 0.6088 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3405, allocations: 116 kB / 0.6089 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.3405, allocations: 13.03 kB / 0.6089 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.3405, allocations: 41.86 kB / 0.609 GB, free: 40 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.3405, allocations: 2.906 kB / 0.609 GB, free: 40 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006114/0.3412, allocations: 406.3 kB / 0.6093 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3412, allocations: 184.2 kB / 0.6095 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.3417, allocations: 0.5637 MB / 0.6101 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3418, allocations: 29.02 kB / 0.6101 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3419, allocations: 266 kB / 0.6104 GB, free: 39.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.3419, allocations: 108.5 kB / 0.6105 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.342, allocations: 32.36 kB / 0.6105 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.342, allocations: 360.8 kB / 0.6108 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3422, allocations: 108.5 kB / 0.6109 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3424, allocations: 164.5 kB / 0.6111 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.3427, allocations: 229 kB / 0.6113 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3427, allocations: 0 / 0.6113 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004119/0.3431, allocations: 318.7 kB / 0.6116 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3431, allocations: 13.23 kB / 0.6116 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3431, allocations: 0 / 0.6116 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3431, allocations: 7.156 kB / 0.6116 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.3433, allocations: 56.62 kB / 0.6117 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3433, allocations: 0 / 0.6117 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.3435, allocations: 52.67 kB / 0.6117 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3435, allocations: 11.84 kB / 0.6117 GB, free: 38.83 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.0002075/0.3438, allocations: 201.8 kB / 0.6119 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.3438, allocations: 54.16 kB / 0.612 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.3443, allocations: 351.3 kB / 0.6123 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3443, allocations: 6.859 kB / 0.6123 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3444, allocations: 2.906 kB / 0.6123 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3444, allocations: 0 / 0.6123 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.3448, allocations: 0.5109 MB / 0.6128 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3448, allocations: 9.906 kB / 0.6128 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.345, allocations: 48.66 kB / 0.6129 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3451, allocations: 3.938 kB / 0.6129 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3451, allocations: 14.7 kB / 0.6129 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3451, allocations: 2.938 kB / 0.6129 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3451, allocations: 3.938 kB / 0.6129 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.3457, allocations: 0.6203 MB / 0.6135 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.3458, allocations: 158.8 kB / 0.6137 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.3459, allocations: 6.156 kB / 0.6137 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3461, allocations: 24.89 kB / 0.6137 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.3462, allocations: 25.67 kB / 0.6137 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3462, allocations: 12.19 kB / 0.6137 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003502/0.3465, allocations: 408.7 kB / 0.6141 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3465, allocations: 0 / 0.6141 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003634/0.3469, allocations: 93.38 kB / 0.6142 GB, free: 37.94 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.001417/0.3483, allocations: 1.479 MB / 0.6157 GB, free: 37.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.3487, allocations: 239.1 kB / 0.6159 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3487, allocations: 2.469 kB / 0.6159 GB, free: 37.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.3489, allocations: 142.8 kB / 0.616 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.3495, allocations: 77.66 kB / 0.6161 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.3534, allocations: 4.097 MB / 0.6201 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3536, allocations: 0.8645 MB / 0.6209 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.3538, allocations: 97.44 kB / 0.621 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.354, allocations: 191.5 kB / 0.6212 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3541, allocations: 0 / 0.6212 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.771/2.125, allocations: 8.779 MB / 0.6298 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/2.125, allocations: 270 kB / 0.6301 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/4.299, allocations: 0 / 0.6301 GB, free: 32.69 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/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)