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.001129/0.001129, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00111/0.00111, allocations: 193.9 kB / 16.25 MB, free: 6.625 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.161/1.161, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.8385/0.8385, allocations: 143.1 MB / 433.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 63.89 kB / 0.5138 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1213, allocations: 82.03 MB / 0.5939 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003744/0.1251, allocations: 3.085 MB / 0.5969 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002331/0.1274, allocations: 1.912 MB / 0.5988 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.1276, allocations: 7.938 kB / 0.5988 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1279, allocations: 67.5 kB / 0.5988 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.1283, allocations: 155.4 kB / 0.599 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.1289, allocations: 351 kB / 0.5993 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.1293, allocations: 0.617 MB / 0.5999 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.1297, allocations: 283.9 kB / 0.6002 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1298, allocations: 219 kB / 0.6004 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.1302, allocations: 278.6 kB / 0.6007 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.1302, allocations: 63.98 kB / 0.6007 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1304, allocations: 112 kB / 0.6008 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1305, allocations: 151.5 kB / 0.601 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1307, allocations: 270.4 kB / 0.6012 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.1312, allocations: 0.6814 MB / 0.6019 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1312, allocations: 0 / 0.6019 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.235e-06/0.1312, allocations: 4 kB / 0.6019 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1312, allocations: 0 / 0.6019 GB, free: 1.578 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.0009911/0.1322, allocations: 0.8568 MB / 0.6027 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1323, allocations: 8.031 kB / 0.6028 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.727e-05/0.1323, allocations: 82.7 kB / 0.6028 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.1326, allocations: 72.12 kB / 0.6029 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.1331, allocations: 465.7 kB / 0.6033 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1946/0.3277, allocations: 30.2 kB / 0.6034 GB, free: 44.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.3278, allocations: 36.12 kB / 0.6034 GB, free: 44.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.3284, allocations: 417.3 kB / 0.6038 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3285, allocations: 3.281 kB / 0.6038 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.3285, allocations: 16.22 kB / 0.6038 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3285, allocations: 8.125 kB / 0.6038 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.329, allocations: 308.1 kB / 0.6041 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.3304, allocations: 1.227 MB / 0.6053 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.3308, allocations: 336 kB / 0.6056 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3309, allocations: 117.9 kB / 0.6058 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.331, allocations: 14.75 kB / 0.6058 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.331, allocations: 37.08 kB / 0.6058 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.331, allocations: 0 / 0.6058 GB, free: 43.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0006471/0.3316, allocations: 403.9 kB / 0.6062 GB, free: 43.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.3317, allocations: 185.5 kB / 0.6064 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.3322, allocations: 0.554 MB / 0.6069 GB, free: 43.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3322, allocations: 32.58 kB / 0.6069 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3323, allocations: 266.2 kB / 0.6072 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.3324, allocations: 110.5 kB / 0.6073 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.3325, allocations: 60.69 kB / 0.6074 GB, free: 43.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.3325, allocations: 364.6 kB / 0.6077 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3327, allocations: 106 kB / 0.6078 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3329, allocations: 157.3 kB / 0.608 GB, free: 42.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.3331, allocations: 231.2 kB / 0.6082 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3331, allocations: 0.625 kB / 0.6082 GB, free: 42.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003976/0.3335, allocations: 311 kB / 0.6085 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3336, allocations: 5.719 kB / 0.6085 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3336, allocations: 3.688 kB / 0.6085 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3336, allocations: 6.75 kB / 0.6085 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3338, allocations: 57.72 kB / 0.6085 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3338, allocations: 5.094 kB / 0.6086 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.334, allocations: 36.92 kB / 0.6086 GB, free: 42.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.334, allocations: 12.72 kB / 0.6086 GB, free: 42.65 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.0002387/0.3342, allocations: 207 kB / 0.6088 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.3343, allocations: 53.69 kB / 0.6088 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.3348, allocations: 345.7 kB / 0.6092 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3348, allocations: 2.844 kB / 0.6092 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3348, allocations: 0.5156 kB / 0.6092 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3348, allocations: 6.047 kB / 0.6092 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.3352, allocations: 0.5151 MB / 0.6097 GB, free: 41.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3353, allocations: 0 / 0.6097 GB, free: 41.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.3354, allocations: 53.45 kB / 0.6097 GB, free: 41.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3355, allocations: 0.5156 kB / 0.6097 GB, free: 41.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3355, allocations: 10.34 kB / 0.6098 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3355, allocations: 0.7031 kB / 0.6098 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3355, allocations: 0 / 0.6098 GB, free: 41.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.3361, allocations: 0.6264 MB / 0.6104 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.3361, allocations: 127.3 kB / 0.6105 GB, free: 41.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.3362, allocations: 10.41 kB / 0.6105 GB, free: 41.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.3364, allocations: 18.59 kB / 0.6105 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.3365, allocations: 29.16 kB / 0.6105 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3365, allocations: 12.78 kB / 0.6106 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003477/0.3369, allocations: 404.5 kB / 0.6109 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3369, allocations: 2.219 kB / 0.6109 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003608/0.3372, allocations: 99.78 kB / 0.611 GB, free: 41.24 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.001379/0.3386, allocations: 1.459 MB / 0.6125 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.339, allocations: 269.3 kB / 0.6127 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.339, allocations: 0 / 0.6127 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.3392, allocations: 142 kB / 0.6129 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.3398, allocations: 88.02 kB / 0.6129 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.3436, allocations: 4.083 MB / 0.6169 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.3438, allocations: 0.8552 MB / 0.6178 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.3441, allocations: 96.59 kB / 0.6179 GB, free: 36.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.3443, allocations: 196.5 kB / 0.618 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3443, allocations: 0 / 0.618 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.3775, allocations: 9.258 MB / 0.6271 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.3776, allocations: 281.9 kB / 0.6273 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.124, allocations: 0 / 0.6273 GB, free: 35.39 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)