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.001451/0.001452, allocations: 105.5 kB / 16.27 MB, free: 5.984 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.001506/0.001506, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.03 MB / 206.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.8223/0.8223, allocations: 143 MB / 434.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001395, allocations: 59.91 kB / 0.5148 GB, free: 15.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3327, allocations: 82.03 MB / 0.5949 GB, free: 16.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005368/0.3381, allocations: 3.057 MB / 0.5979 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003247/0.3414, allocations: 1.955 MB / 0.5998 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.3419, allocations: 8 kB / 0.5998 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.3424, allocations: 96.55 kB / 0.5999 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007852/0.3432, allocations: 184.4 kB / 0.6001 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.3441, allocations: 369.2 kB / 0.6004 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.3447, allocations: 0.6171 MB / 0.601 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.3451, allocations: 291.4 kB / 0.6013 GB, free: 9.664 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3452, allocations: 219.1 kB / 0.6015 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.3456, allocations: 263.5 kB / 0.6018 GB, free: 9.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.3457, allocations: 59.98 kB / 0.6018 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.3458, allocations: 112 kB / 0.6019 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.346, allocations: 152.7 kB / 0.6021 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.3461, allocations: 270.4 kB / 0.6023 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.3466, allocations: 0.6814 MB / 0.603 GB, free: 7.926 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3466, allocations: 1.469 kB / 0.603 GB, free: 7.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3466, allocations: 0 / 0.603 GB, free: 7.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3467, allocations: 0 / 0.603 GB, free: 7.926 MB / 446.1 MB 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.001022/0.3477, allocations: 0.8551 MB / 0.6038 GB, free: 7.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3477, allocations: 13.38 kB / 0.6039 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.348, allocations: 72.17 kB / 0.6039 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.3485, allocations: 461.7 kB / 0.6044 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3486, allocations: 34.03 kB / 0.6044 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.3486, allocations: 44.06 kB / 0.6044 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.3492, allocations: 423.3 kB / 0.6048 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3492, allocations: 0 / 0.6048 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.3493, allocations: 18.12 kB / 0.6049 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.3493, allocations: 8 kB / 0.6049 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.3498, allocations: 311.5 kB / 0.6052 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.3512, allocations: 1.22 MB / 0.6064 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.3517, allocations: 339.4 kB / 0.6067 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3519, allocations: 111.2 kB / 0.6068 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3519, allocations: 13.47 kB / 0.6068 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3519, allocations: 36.14 kB / 0.6068 GB, free: 3.824 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.3519, allocations: 3.984 kB / 0.6068 GB, free: 3.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006051/0.3526, allocations: 400.5 kB / 0.6072 GB, free: 3.426 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3526, allocations: 185.2 kB / 0.6074 GB, free: 3.203 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004937/0.3531, allocations: 0.5566 MB / 0.6079 GB, free: 2.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3531, allocations: 38.98 kB / 0.608 GB, free: 2.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3533, allocations: 260.3 kB / 0.6082 GB, free: 2.336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.3533, allocations: 106.5 kB / 0.6083 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.3534, allocations: 63.41 kB / 0.6084 GB, free: 2.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.3535, allocations: 358.8 kB / 0.6087 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.3536, allocations: 102.3 kB / 0.6088 GB, free: 1.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3538, allocations: 161.5 kB / 0.609 GB, free: 1.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.3541, allocations: 225.5 kB / 0.6092 GB, free: 1.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3541, allocations: 4 kB / 0.6092 GB, free: 1.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003922/0.3545, allocations: 314.5 kB / 0.6095 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3545, allocations: 8 kB / 0.6095 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3545, allocations: 1.469 kB / 0.6095 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3545, allocations: 4 kB / 0.6095 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.3547, allocations: 59.91 kB / 0.6096 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3547, allocations: 4 kB / 0.6096 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.3549, allocations: 37.02 kB / 0.6096 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.3549, allocations: 15.92 kB / 0.6096 GB, free: 0.8477 MB / 446.1 MB 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.0002518/0.3552, allocations: 198.9 kB / 0.6098 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.236e-05/0.3553, allocations: 56.38 kB / 0.6099 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.3558, allocations: 351.7 kB / 0.6102 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3558, allocations: 4 kB / 0.6102 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3558, allocations: 4.969 kB / 0.6102 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3558, allocations: 7.984 kB / 0.6102 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.3563, allocations: 0.5166 MB / 0.6107 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3563, allocations: 5.141 kB / 0.6107 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.3565, allocations: 43.98 kB / 0.6108 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3566, allocations: 0 / 0.6108 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.3566, allocations: 13.2 kB / 0.6108 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3566, allocations: 3.938 kB / 0.6108 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3566, allocations: 0 / 0.6108 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007218/0.3573, allocations: 0.6226 MB / 0.6114 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.3574, allocations: 128.5 kB / 0.6115 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.3575, allocations: 8 kB / 0.6115 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3577, allocations: 21.42 kB / 0.6115 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.3578, allocations: 27.95 kB / 0.6116 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.3578, allocations: 8.625 kB / 0.6116 GB, free: 14.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004314/0.3582, allocations: 408.1 kB / 0.612 GB, free: 14.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3582, allocations: 0 / 0.612 GB, free: 14.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.3586, allocations: 103.6 kB / 0.6121 GB, free: 14.25 MB / 462.1 MB 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.0008725/0.3595, allocations: 418.8 kB / 0.6125 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.36, allocations: 272.9 kB / 0.6127 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.36, allocations: 0 / 0.6127 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.3602, allocations: 132.8 kB / 0.6129 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.3608, allocations: 87.77 kB / 0.6129 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.362, allocations: 0.9063 MB / 0.6138 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3624, allocations: 0.8587 MB / 0.6147 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3626, allocations: 55.41 kB / 0.6147 GB, free: 11.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3626, allocations: 0 / 0.6147 GB, free: 11.7 MB / 462.1 MB Notification: Performance of Templates: time 0.008726/0.3713, allocations: 6.867 MB / 0.6214 GB, free: 4.879 MB / 462.1 MB 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)