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: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.0009027, allocations: 98.64 kB / 16.02 MB, free: 76 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.001226/0.001226, allocations: 189.5 kB / 16.92 MB, free: 6.75 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.522/1.522, allocations: 223.3 MB / 241 MB, free: 5.336 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.036/1.036, allocations: 143.2 MB / 435.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003539, allocations: 8 kB / 0.517 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2049, allocations: 83.4 MB / 0.5985 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.004188/0.2092, allocations: 2.684 MB / 0.6011 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.2127, allocations: 1.9 MB / 0.6029 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.2131, allocations: 11.94 kB / 0.603 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.2135, allocations: 71.5 kB / 0.603 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.214, allocations: 147.4 kB / 0.6032 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.2148, allocations: 350.6 kB / 0.6035 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.2154, allocations: 0.5545 MB / 0.604 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.2159, allocations: 283.9 kB / 0.6043 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.2161, allocations: 147 kB / 0.6045 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.2164, allocations: 202.6 kB / 0.6047 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.2165, allocations: 12 kB / 0.6047 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.2166, allocations: 63.97 kB / 0.6047 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.2168, allocations: 103.5 kB / 0.6048 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.217, allocations: 224.2 kB / 0.605 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.2175, allocations: 0.5261 MB / 0.6055 GB, free: 460 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2175, allocations: 0 / 0.6055 GB, free: 460 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2175, allocations: 4 kB / 0.6056 GB, free: 456 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.2176, allocations: 0 / 0.6056 GB, free: 456 kB / 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.3936/0.6112, allocations: 0.7579 MB / 0.6063 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6113, allocations: 11.19 kB / 0.6063 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004304/0.6117, allocations: 69.7 kB / 0.6064 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.6123, allocations: 471.7 kB / 0.6068 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.6124, allocations: 27.44 kB / 0.6068 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.6124, allocations: 38.16 kB / 0.6069 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.6131, allocations: 421.8 kB / 0.6073 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.6131, allocations: 0 / 0.6073 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.6132, allocations: 19.75 kB / 0.6073 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.6132, allocations: 11 kB / 0.6073 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.6137, allocations: 311.6 kB / 0.6076 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.6152, allocations: 1.234 MB / 0.6088 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.6157, allocations: 336.8 kB / 0.6091 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.6159, allocations: 120.8 kB / 0.6093 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.6159, allocations: 9.375 kB / 0.6093 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.616, allocations: 39.11 kB / 0.6093 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.616, allocations: 0 / 0.6093 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.000685/0.6167, allocations: 415.6 kB / 0.6097 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.6167, allocations: 186 kB / 0.6099 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/0.6174, allocations: 0.5556 MB / 0.6104 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.6174, allocations: 31.89 kB / 0.6104 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.6176, allocations: 265.8 kB / 0.6107 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.6177, allocations: 109.4 kB / 0.6108 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.6177, allocations: 34.62 kB / 0.6108 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.6178, allocations: 359.4 kB / 0.6112 GB, free: 39.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.618, allocations: 104.2 kB / 0.6113 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.6182, allocations: 162.1 kB / 0.6114 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.6185, allocations: 231.9 kB / 0.6117 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6185, allocations: 0 / 0.6117 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004379/0.619, allocations: 321.7 kB / 0.612 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.619, allocations: 9.781 kB / 0.612 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.619, allocations: 8.031 kB / 0.612 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.619, allocations: 4.297 kB / 0.612 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.6192, allocations: 57.14 kB / 0.612 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.6193, allocations: 2.938 kB / 0.612 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.6194, allocations: 45.78 kB / 0.6121 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.6195, allocations: 12.34 kB / 0.6121 GB, free: 39.17 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.0002597/0.6197, allocations: 202 kB / 0.6123 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.6198, allocations: 55.84 kB / 0.6123 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005477/0.6204, allocations: 351.7 kB / 0.6127 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6204, allocations: 2.906 kB / 0.6127 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6204, allocations: 0 / 0.6127 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6204, allocations: 3.031 kB / 0.6127 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.621, allocations: 0.5209 MB / 0.6132 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.621, allocations: 0 / 0.6132 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.6212, allocations: 53.84 kB / 0.6132 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.6212, allocations: 6.875 kB / 0.6132 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.6212, allocations: 7.344 kB / 0.6133 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6212, allocations: 3.438 kB / 0.6133 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6213, allocations: 0 / 0.6133 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007784/0.622, allocations: 0.6281 MB / 0.6139 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/0.6221, allocations: 150.5 kB / 0.614 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.6222, allocations: 10.5 kB / 0.614 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.6224, allocations: 26.5 kB / 0.6141 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.6225, allocations: 34.03 kB / 0.6141 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.6225, allocations: 12.59 kB / 0.6141 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004113/0.6229, allocations: 405.4 kB / 0.6145 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.623, allocations: 0 / 0.6145 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004006/0.6234, allocations: 91.88 kB / 0.6146 GB, free: 38.28 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.000942/0.6243, allocations: 412.2 kB / 0.615 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.6247, allocations: 245.5 kB / 0.6152 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6247, allocations: 0 / 0.6152 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.6249, allocations: 141.3 kB / 0.6153 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.6255, allocations: 84.05 kB / 0.6154 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.6269, allocations: 1.104 MB / 0.6165 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.6272, allocations: 0.8594 MB / 0.6173 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.6273, allocations: 54.22 kB / 0.6174 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.6273, allocations: 0 / 0.6174 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.008449/0.6358, allocations: 6.769 MB / 0.624 GB, free: 36.12 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile (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 & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1)