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.001209/0.001209, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 192 kB / 16.53 MB, free: 6.391 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.9154/0.9154, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1385, allocations: 82.05 MB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004134/0.1427, allocations: 3.036 MB / 0.5973 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.1452, allocations: 1.967 MB / 0.5993 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1454, allocations: 7.938 kB / 0.5993 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.1457, allocations: 95.11 kB / 0.5994 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.1461, allocations: 186.9 kB / 0.5995 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.1468, allocations: 375.4 kB / 0.5999 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.1473, allocations: 0.6093 MB / 0.6005 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.1477, allocations: 295.9 kB / 0.6008 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1479, allocations: 219 kB / 0.601 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.1483, allocations: 273.1 kB / 0.6012 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-05/0.1484, allocations: 64 kB / 0.6013 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.1486, allocations: 111.9 kB / 0.6014 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1488, allocations: 155.5 kB / 0.6016 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.149, allocations: 262.4 kB / 0.6018 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005563/0.1495, allocations: 0.6892 MB / 0.6025 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1495, allocations: 0 / 0.6025 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1495, allocations: 0 / 0.6025 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.1496, allocations: 0 / 0.6025 GB, free: 1.129 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.001098/0.1507, allocations: 0.8608 MB / 0.6033 GB, free: 224 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1507, allocations: 12.03 kB / 0.6033 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.298e-05/0.1508, allocations: 74.66 kB / 0.6034 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.1511, allocations: 76.11 kB / 0.6035 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2134/0.3645, allocations: 456.6 kB / 0.6039 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.3646, allocations: 32.44 kB / 0.6039 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/0.3646, allocations: 36.56 kB / 0.604 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.3652, allocations: 415.3 kB / 0.6044 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3653, allocations: 3.5 kB / 0.6044 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.3653, allocations: 18.78 kB / 0.6044 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3653, allocations: 11.23 kB / 0.6044 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.3658, allocations: 312 kB / 0.6047 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3671, allocations: 1.219 MB / 0.6059 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.3676, allocations: 329.8 kB / 0.6062 GB, free: 43.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.3677, allocations: 121 kB / 0.6063 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.3678, allocations: 11.92 kB / 0.6063 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3678, allocations: 38.39 kB / 0.6064 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.3678, allocations: 3.406 kB / 0.6064 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.000678/0.3685, allocations: 403.6 kB / 0.6068 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.3686, allocations: 186.7 kB / 0.6069 GB, free: 43.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/0.3691, allocations: 0.559 MB / 0.6075 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3692, allocations: 32.02 kB / 0.6075 GB, free: 43.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3693, allocations: 258.7 kB / 0.6078 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.3694, allocations: 104.9 kB / 0.6079 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.3695, allocations: 60.98 kB / 0.6079 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.3696, allocations: 365.5 kB / 0.6083 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.3697, allocations: 100.3 kB / 0.6084 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3699, allocations: 161.8 kB / 0.6085 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.3702, allocations: 225.2 kB / 0.6087 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3702, allocations: 2.531 kB / 0.6087 GB, free: 42.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004119/0.3706, allocations: 319.7 kB / 0.609 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3707, allocations: 9.156 kB / 0.6091 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3707, allocations: 0 / 0.6091 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3707, allocations: 2.875 kB / 0.6091 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.3709, allocations: 56.05 kB / 0.6091 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.3709, allocations: 8.547 kB / 0.6091 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3711, allocations: 37.03 kB / 0.6092 GB, free: 42.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.3711, allocations: 12.53 kB / 0.6092 GB, free: 42.07 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.000248/0.3713, allocations: 202.9 kB / 0.6094 GB, free: 41.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.3714, allocations: 54.94 kB / 0.6094 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.372, allocations: 340.4 kB / 0.6097 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.372, allocations: 6.719 kB / 0.6097 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.372, allocations: 5.062 kB / 0.6097 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.372, allocations: 6.906 kB / 0.6098 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.3725, allocations: 0.5192 MB / 0.6103 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3725, allocations: 0 / 0.6103 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.3727, allocations: 53.38 kB / 0.6103 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3727, allocations: 0 / 0.6103 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.3727, allocations: 7.469 kB / 0.6103 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.3727, allocations: 9.984 kB / 0.6103 GB, free: 41.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3727, allocations: 3 kB / 0.6103 GB, free: 41.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.3734, allocations: 0.6133 MB / 0.6109 GB, free: 41.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.3735, allocations: 130.3 kB / 0.6111 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.3735, allocations: 6.906 kB / 0.6111 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.3737, allocations: 27.06 kB / 0.6111 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.3738, allocations: 30.28 kB / 0.6111 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3739, allocations: 8.344 kB / 0.6111 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003817/0.3742, allocations: 412.6 kB / 0.6115 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3742, allocations: 0 / 0.6115 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003754/0.3746, allocations: 97.03 kB / 0.6116 GB, free: 40.66 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.001498/0.3761, allocations: 1.46 MB / 0.613 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.3766, allocations: 277.1 kB / 0.6133 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3766, allocations: 0 / 0.6133 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3768, allocations: 142.7 kB / 0.6134 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.3774, allocations: 93.08 kB / 0.6135 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.3811, allocations: 3.897 MB / 0.6173 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3814, allocations: 0.8618 MB / 0.6182 GB, free: 36.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000245/0.3816, allocations: 89.33 kB / 0.6183 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.3819, allocations: 205.3 kB / 0.6185 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.3819, allocations: 3.938 kB / 0.6185 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08389/0.4658, allocations: 9.407 MB / 0.6276 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.799, allocations: 7.984 kB / 0.6277 GB, free: 35.25 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)