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.008946/0.008946, allocations: 102 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.001328/0.001328, allocations: 195 kB / 16.68 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.148 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 1.05/1.05, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 60.14 kB / 0.595 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.487, allocations: 82.02 MB / 0.6751 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004667/0.4918, allocations: 3.054 MB / 0.6781 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.4957, allocations: 1.967 MB / 0.68 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.4961, allocations: 7.375 kB / 0.68 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.4966, allocations: 89.97 kB / 0.6801 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.4972, allocations: 185.6 kB / 0.6803 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008673/0.4981, allocations: 377.2 kB / 0.6807 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.4989, allocations: 0.6246 MB / 0.6813 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005062/0.4994, allocations: 287.6 kB / 0.6815 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.4997, allocations: 221.7 kB / 0.6818 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.5001, allocations: 265.5 kB / 0.682 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.16e-05/0.5002, allocations: 58.47 kB / 0.6821 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.5005, allocations: 114.6 kB / 0.6822 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.5007, allocations: 150.2 kB / 0.6823 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.5009, allocations: 271.3 kB / 0.6826 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008025/0.5017, allocations: 0.7005 MB / 0.6833 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5018, allocations: 0 / 0.6833 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.566e-06/0.5018, allocations: 3.984 kB / 0.6833 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.5018, allocations: 1.375 kB / 0.6833 GB, free: 10.9 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.001333/0.5031, allocations: 0.861 MB / 0.6841 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.5032, allocations: 10.06 kB / 0.6841 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.566e-05/0.5033, allocations: 74.78 kB / 0.6842 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.5036, allocations: 77.36 kB / 0.6843 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/0.5043, allocations: 466.4 kB / 0.6847 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.5044, allocations: 36.53 kB / 0.6847 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.5045, allocations: 39.72 kB / 0.6848 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.5052, allocations: 412.6 kB / 0.6852 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5052, allocations: 1.375 kB / 0.6852 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.5052, allocations: 14.75 kB / 0.6852 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5052, allocations: 9.625 kB / 0.6852 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.5058, allocations: 317.9 kB / 0.6855 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.5078, allocations: 1.205 MB / 0.6867 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.5084, allocations: 339.5 kB / 0.687 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.5086, allocations: 120.4 kB / 0.6871 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.5086, allocations: 13.56 kB / 0.6871 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.5087, allocations: 37.11 kB / 0.6872 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.5087, allocations: 0 / 0.6872 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0008847/0.5096, allocations: 398.6 kB / 0.6875 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.5097, allocations: 184.4 kB / 0.6877 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/0.5106, allocations: 0.5594 MB / 0.6883 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.5107, allocations: 34.92 kB / 0.6883 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.5109, allocations: 269.7 kB / 0.6886 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.511, allocations: 103.1 kB / 0.6887 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5111, allocations: 61.62 kB / 0.6887 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.5113, allocations: 359.1 kB / 0.6891 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.5115, allocations: 101.3 kB / 0.6891 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.5118, allocations: 163.2 kB / 0.6893 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/0.5122, allocations: 224.6 kB / 0.6895 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.5122, allocations: 5.094 kB / 0.6895 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006065/0.5128, allocations: 316.7 kB / 0.6898 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5128, allocations: 5.219 kB / 0.6898 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.5128, allocations: 5.344 kB / 0.6898 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5129, allocations: 2.5 kB / 0.6898 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.5131, allocations: 53.12 kB / 0.6899 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.5131, allocations: 2.531 kB / 0.6899 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.5133, allocations: 38.7 kB / 0.6899 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.5134, allocations: 15.02 kB / 0.6899 GB, free: 5.824 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.0003954/0.5138, allocations: 203.7 kB / 0.6901 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.5139, allocations: 50.91 kB / 0.6902 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/0.5146, allocations: 353.1 kB / 0.6905 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.5146, allocations: 7.5 kB / 0.6905 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5146, allocations: 1.219 kB / 0.6905 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5146, allocations: 5.141 kB / 0.6905 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.5153, allocations: 0.5087 MB / 0.691 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5153, allocations: 9.062 kB / 0.691 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.5156, allocations: 54.25 kB / 0.6911 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.5156, allocations: 2.75 kB / 0.6911 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.5156, allocations: 6.312 kB / 0.6911 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.5156, allocations: 6.297 kB / 0.6911 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5156, allocations: 7.922 kB / 0.6911 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.5165, allocations: 0.6169 MB / 0.6917 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.5167, allocations: 133.4 kB / 0.6918 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/0.5167, allocations: 7.875 kB / 0.6919 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.517, allocations: 17.89 kB / 0.6919 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.5171, allocations: 31.55 kB / 0.6919 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.5171, allocations: 11.88 kB / 0.6919 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005339/0.5176, allocations: 409.8 kB / 0.6923 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5177, allocations: 0 / 0.6923 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004498/0.5181, allocations: 96.61 kB / 0.6924 GB, free: 4.078 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.002065/0.5202, allocations: 1.457 MB / 0.6938 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005256/0.5207, allocations: 241.1 kB / 0.694 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5207, allocations: 128 / 0.694 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.521, allocations: 147.8 kB / 0.6942 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.5216, allocations: 82.56 kB / 0.6943 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/0.5275, allocations: 3.84 MB / 0.698 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.528, allocations: 0.8513 MB / 0.6988 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.5283, allocations: 95.27 kB / 0.6989 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.5287, allocations: 203.3 kB / 0.6991 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.5287, allocations: 0 / 0.6991 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04778/0.5765, allocations: 9.469 MB / 0.7084 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.765, allocations: 20.27 kB / 0.7084 GB, free: 4.215 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)