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.009145/0.009145, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001402/0.001402, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.986/0.986, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.89 kB / 0.595 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4308, allocations: 82.03 MB / 0.6751 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005718/0.4366, allocations: 3.05 MB / 0.6781 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003913/0.4405, allocations: 1.963 MB / 0.68 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005658/0.4411, allocations: 10.75 kB / 0.68 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.4416, allocations: 94.02 kB / 0.6801 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008003/0.4425, allocations: 185.9 kB / 0.6803 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.4435, allocations: 374.7 kB / 0.6807 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009074/0.4444, allocations: 0.6242 MB / 0.6813 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.4449, allocations: 291.3 kB / 0.6815 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.4452, allocations: 222.5 kB / 0.6818 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004829/0.4457, allocations: 262.1 kB / 0.682 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.4459, allocations: 58.19 kB / 0.6821 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.4462, allocations: 110.9 kB / 0.6822 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.4464, allocations: 154.8 kB / 0.6823 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.4466, allocations: 270.6 kB / 0.6826 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008603/0.4475, allocations: 0.7075 MB / 0.6833 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4475, allocations: 1.625 kB / 0.6833 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4475, allocations: 0 / 0.6833 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.65e-05/0.4475, allocations: 0 / 0.6833 GB, free: 10.75 MB / 0.5137 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.001553/0.4491, allocations: 0.8574 MB / 0.6841 GB, free: 10 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4492, allocations: 9.281 kB / 0.6841 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.49e-05/0.4493, allocations: 79.73 kB / 0.6842 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.4496, allocations: 73.12 kB / 0.6843 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.4503, allocations: 466.8 kB / 0.6847 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.4503, allocations: 28.5 kB / 0.6847 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.4504, allocations: 39.31 kB / 0.6848 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.451, allocations: 425.7 kB / 0.6852 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4511, allocations: 0 / 0.6852 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.4511, allocations: 12.12 kB / 0.6852 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4511, allocations: 8.25 kB / 0.6852 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.4517, allocations: 313.9 kB / 0.6855 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.4535, allocations: 1.213 MB / 0.6867 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.454, allocations: 336.1 kB / 0.687 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.4542, allocations: 120.3 kB / 0.6871 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.4543, allocations: 9.203 kB / 0.6871 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.4543, allocations: 38.3 kB / 0.6872 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.4543, allocations: 3.938 kB / 0.6872 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0007996/0.4551, allocations: 398.4 kB / 0.6875 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.4552, allocations: 183.7 kB / 0.6877 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007792/0.456, allocations: 0.5555 MB / 0.6883 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.4561, allocations: 35.67 kB / 0.6883 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.4563, allocations: 261.4 kB / 0.6885 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.4564, allocations: 111 kB / 0.6886 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/0.4564, allocations: 57.83 kB / 0.6887 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4566, allocations: 358 kB / 0.689 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.4568, allocations: 105.8 kB / 0.6891 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.457, allocations: 167.5 kB / 0.6893 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.4574, allocations: 220.7 kB / 0.6895 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4574, allocations: 9.094 kB / 0.6895 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005633/0.458, allocations: 321.6 kB / 0.6898 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.458, allocations: 4.031 kB / 0.6898 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.458, allocations: 1.344 kB / 0.6898 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4581, allocations: 2.531 kB / 0.6898 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.4583, allocations: 58.02 kB / 0.6899 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4583, allocations: 6.172 kB / 0.6899 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.4585, allocations: 37.23 kB / 0.6899 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.4585, allocations: 9.094 kB / 0.6899 GB, free: 5.676 MB / 0.5137 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.0003688/0.4589, allocations: 210.1 kB / 0.6901 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.459, allocations: 55.78 kB / 0.6902 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.4597, allocations: 344.4 kB / 0.6905 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4597, allocations: 3.812 kB / 0.6905 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4597, allocations: 5.391 kB / 0.6905 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4597, allocations: 0 / 0.6905 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.4604, allocations: 0.5179 MB / 0.691 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4604, allocations: 0 / 0.691 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.4606, allocations: 55.62 kB / 0.6911 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4606, allocations: 1.188 kB / 0.6911 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.4606, allocations: 7.031 kB / 0.6911 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.4607, allocations: 2.281 kB / 0.6911 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4607, allocations: 4.984 kB / 0.6911 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.4615, allocations: 0.624 MB / 0.6917 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4616, allocations: 129.6 kB / 0.6918 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.4617, allocations: 12.03 kB / 0.6919 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.4619, allocations: 16.95 kB / 0.6919 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.907e-05/0.462, allocations: 28.19 kB / 0.6919 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.462, allocations: 8.406 kB / 0.6919 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000471/0.4625, allocations: 410.6 kB / 0.6923 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.4625, allocations: 0 / 0.6923 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004665/0.463, allocations: 98.44 kB / 0.6924 GB, free: 3.934 MB / 0.5137 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.001914/0.4649, allocations: 1.472 MB / 0.6938 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.4654, allocations: 239.3 kB / 0.6941 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4654, allocations: 4.125 kB / 0.6941 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.4657, allocations: 139.8 kB / 0.6942 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005985/0.4663, allocations: 85.22 kB / 0.6943 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.4713, allocations: 3.844 MB / 0.698 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.4717, allocations: 0.8513 MB / 0.6989 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002647/0.472, allocations: 99.5 kB / 0.699 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.4723, allocations: 199.3 kB / 0.6991 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.4723, allocations: 0 / 0.6991 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.5127, allocations: 9.722 MB / 0.7086 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.91, allocations: 12.98 kB / 0.7086 GB, free: 3.781 MB / 0.5294 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)