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.0008081/0.0008081, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004442/0.004442, allocations: 169 kB / 16.26 MB, free: 6.652 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.13/1.13, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.8299/0.8299, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002488, allocations: 8 kB / 0.5164 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1208, allocations: 83.41 MB / 0.5978 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.002718/0.1236, allocations: 2.688 MB / 0.6004 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1257, allocations: 1.896 MB / 0.6023 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1258, allocations: 8 kB / 0.6023 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.126, allocations: 67.5 kB / 0.6024 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1264, allocations: 151.3 kB / 0.6025 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.1269, allocations: 341.8 kB / 0.6028 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.1274, allocations: 0.5662 MB / 0.6034 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.1277, allocations: 275.9 kB / 0.6037 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1278, allocations: 151 kB / 0.6038 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.1281, allocations: 202.7 kB / 0.604 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1281, allocations: 12 kB / 0.604 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1283, allocations: 63.92 kB / 0.6041 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.1284, allocations: 95.47 kB / 0.6042 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1285, allocations: 236.1 kB / 0.6044 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.129, allocations: 0.6383 MB / 0.605 GB, free: 336 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.129, allocations: 0 / 0.605 GB, free: 336 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.129, allocations: 4 kB / 0.605 GB, free: 332 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.129, allocations: 0 / 0.605 GB, free: 332 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.2065/0.3355, allocations: 0.7494 MB / 0.6057 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3356, allocations: 8.812 kB / 0.6057 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.3359, allocations: 74.3 kB / 0.6058 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.3364, allocations: 467.5 kB / 0.6063 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.3364, allocations: 32.81 kB / 0.6063 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.3364, allocations: 34.38 kB / 0.6063 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.337, allocations: 422.9 kB / 0.6067 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.337, allocations: 0 / 0.6067 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.337, allocations: 15.72 kB / 0.6067 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.337, allocations: 9.156 kB / 0.6068 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.3374, allocations: 315.3 kB / 0.6071 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.3387, allocations: 1.236 MB / 0.6083 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.3391, allocations: 329.2 kB / 0.6086 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.3392, allocations: 122 kB / 0.6087 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.3393, allocations: 13.23 kB / 0.6087 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.3393, allocations: 38.92 kB / 0.6087 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.403e-06/0.3393, allocations: 0 / 0.6087 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0005808/0.3399, allocations: 411.9 kB / 0.6091 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.3399, allocations: 186 kB / 0.6093 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.3405, allocations: 0.5582 MB / 0.6099 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3405, allocations: 34.95 kB / 0.6099 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.3406, allocations: 257.2 kB / 0.6101 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.3407, allocations: 109.2 kB / 0.6102 GB, free: 39.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3407, allocations: 34.97 kB / 0.6103 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.3408, allocations: 365.3 kB / 0.6106 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3409, allocations: 99.92 kB / 0.6107 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.3411, allocations: 164.9 kB / 0.6109 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.3414, allocations: 231.1 kB / 0.6111 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3414, allocations: 0 / 0.6111 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003827/0.3418, allocations: 321.7 kB / 0.6114 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3418, allocations: 9.719 kB / 0.6114 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3418, allocations: 4.031 kB / 0.6114 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3418, allocations: 4.062 kB / 0.6114 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.342, allocations: 57.22 kB / 0.6115 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.342, allocations: 2.75 kB / 0.6115 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3422, allocations: 46.53 kB / 0.6115 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3422, allocations: 19.78 kB / 0.6115 GB, free: 39.09 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.0002188/0.3424, allocations: 202.9 kB / 0.6117 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.938e-05/0.3425, allocations: 53.97 kB / 0.6118 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/0.343, allocations: 349.4 kB / 0.6121 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.343, allocations: 7.156 kB / 0.6121 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.343, allocations: 0 / 0.6121 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.343, allocations: 3.234 kB / 0.6121 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.3435, allocations: 0.5157 MB / 0.6126 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3435, allocations: 0 / 0.6126 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.3437, allocations: 53.41 kB / 0.6127 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3437, allocations: 6.75 kB / 0.6127 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3437, allocations: 10.56 kB / 0.6127 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3437, allocations: 2.906 kB / 0.6127 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3437, allocations: 0 / 0.6127 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.3443, allocations: 0.6183 MB / 0.6133 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.3444, allocations: 154.2 kB / 0.6135 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.3445, allocations: 16.81 kB / 0.6135 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3447, allocations: 27.08 kB / 0.6135 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.3448, allocations: 29.17 kB / 0.6135 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3448, allocations: 11.59 kB / 0.6135 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003517/0.3451, allocations: 408.1 kB / 0.6139 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3451, allocations: 0 / 0.6139 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003521/0.3455, allocations: 87.94 kB / 0.614 GB, free: 38.2 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.000735/0.3462, allocations: 418.1 kB / 0.6144 GB, free: 38.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.3466, allocations: 246.9 kB / 0.6146 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3466, allocations: 3.422 kB / 0.6146 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.3468, allocations: 140.7 kB / 0.6148 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.3473, allocations: 76.88 kB / 0.6149 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.3484, allocations: 1.065 MB / 0.6159 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.3486, allocations: 0.8621 MB / 0.6167 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.3488, allocations: 98.38 kB / 0.6168 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3489, allocations: 49.16 kB / 0.6169 GB, free: 36.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3489, allocations: 0 / 0.6169 GB, free: 36.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.007011/0.3559, allocations: 4.739 MB / 0.6215 GB, free: 36.32 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)