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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001068/0.001068, allocations: 192.2 kB / 16.14 MB, free: 6.688 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.136/1.136, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.8231/0.8231, allocations: 143.1 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 71.89 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1198, allocations: 82.04 MB / 0.5937 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003745/0.1236, allocations: 3.06 MB / 0.5967 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.126, allocations: 1.92 MB / 0.5986 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.1262, allocations: 8 kB / 0.5986 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.1266, allocations: 79.44 kB / 0.5987 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.1269, allocations: 151.4 kB / 0.5988 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.1276, allocations: 349.6 kB / 0.5991 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005065/0.1281, allocations: 0.5546 MB / 0.5997 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.1284, allocations: 275.9 kB / 0.5999 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1286, allocations: 187 kB / 0.6001 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.129, allocations: 250.6 kB / 0.6004 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.129, allocations: 24 kB / 0.6004 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1292, allocations: 79.91 kB / 0.6005 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1293, allocations: 119.5 kB / 0.6006 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.1295, allocations: 234.4 kB / 0.6008 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.13, allocations: 0.6581 MB / 0.6014 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.13, allocations: 4 kB / 0.6014 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.21e-07/0.13, allocations: 0 / 0.6014 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.13, allocations: 0 / 0.6014 GB, free: 2.004 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.001102/0.1311, allocations: 0.8685 MB / 0.6023 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1312, allocations: 8.031 kB / 0.6023 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.034e-05/0.1312, allocations: 82.72 kB / 0.6024 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.1315, allocations: 72.17 kB / 0.6024 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.132, allocations: 461.7 kB / 0.6029 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1321, allocations: 29.38 kB / 0.6029 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.1321, allocations: 47.88 kB / 0.603 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1687/0.3008, allocations: 408 kB / 0.6033 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3008, allocations: 0 / 0.6033 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.3009, allocations: 17.06 kB / 0.6034 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3009, allocations: 10.22 kB / 0.6034 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.3014, allocations: 309.1 kB / 0.6037 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.3027, allocations: 1.223 MB / 0.6049 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.3031, allocations: 334.6 kB / 0.6052 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3032, allocations: 118.2 kB / 0.6053 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.3033, allocations: 10.36 kB / 0.6053 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3033, allocations: 41.64 kB / 0.6053 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.3033, allocations: 0.5 kB / 0.6053 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0005907/0.3039, allocations: 399.1 kB / 0.6057 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.304, allocations: 191.1 kB / 0.6059 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.3045, allocations: 0.5524 MB / 0.6064 GB, free: 43.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3045, allocations: 33.36 kB / 0.6065 GB, free: 43.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3046, allocations: 266.8 kB / 0.6067 GB, free: 42.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.3047, allocations: 105.1 kB / 0.6068 GB, free: 42.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.3047, allocations: 63.39 kB / 0.6069 GB, free: 42.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.3048, allocations: 360.5 kB / 0.6072 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3049, allocations: 104.1 kB / 0.6073 GB, free: 42.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.3051, allocations: 162.9 kB / 0.6075 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.3054, allocations: 229.6 kB / 0.6077 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3054, allocations: 0 / 0.6077 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003852/0.3058, allocations: 313.8 kB / 0.608 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3058, allocations: 6.844 kB / 0.608 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3058, allocations: 3.375 kB / 0.608 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3058, allocations: 2.938 kB / 0.608 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.306, allocations: 58.39 kB / 0.6081 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.306, allocations: 2.719 kB / 0.6081 GB, free: 42.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.3062, allocations: 40.48 kB / 0.6081 GB, free: 42.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3062, allocations: 12.62 kB / 0.6081 GB, free: 42.37 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.0002236/0.3064, allocations: 202.3 kB / 0.6083 GB, free: 42.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.3065, allocations: 54.28 kB / 0.6084 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.307, allocations: 347 kB / 0.6087 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.307, allocations: 3.781 kB / 0.6087 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.307, allocations: 2.188 kB / 0.6087 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.307, allocations: 9.797 kB / 0.6087 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.3074, allocations: 0.5158 MB / 0.6092 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3074, allocations: 0 / 0.6092 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.3076, allocations: 53.62 kB / 0.6093 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3076, allocations: 1.688 kB / 0.6093 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3076, allocations: 9.875 kB / 0.6093 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3077, allocations: 6.656 kB / 0.6093 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3077, allocations: 0 / 0.6093 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.3082, allocations: 0.6255 MB / 0.6099 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.3083, allocations: 126.1 kB / 0.61 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.3084, allocations: 10.91 kB / 0.61 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.3086, allocations: 22.53 kB / 0.6101 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.3086, allocations: 26.17 kB / 0.6101 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3087, allocations: 8.719 kB / 0.6101 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003421/0.309, allocations: 408 kB / 0.6105 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.309, allocations: 0 / 0.6105 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003436/0.3094, allocations: 95.12 kB / 0.6106 GB, free: 40.96 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.001355/0.3107, allocations: 1.457 MB / 0.612 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.3111, allocations: 237.3 kB / 0.6122 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3111, allocations: 0 / 0.6122 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.3113, allocations: 146 kB / 0.6124 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.3118, allocations: 87.89 kB / 0.6124 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.3155, allocations: 4.071 MB / 0.6164 GB, free: 37.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.3157, allocations: 0.864 MB / 0.6173 GB, free: 36.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.3159, allocations: 87.12 kB / 0.6173 GB, free: 36.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.3161, allocations: 196.1 kB / 0.6175 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.3161, allocations: 0 / 0.6175 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.3434, allocations: 9.065 MB / 0.6264 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.3435, allocations: 274.4 kB / 0.6266 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.998, allocations: 3.516 kB / 0.6267 GB, free: 35.16 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)