Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater.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.Systems.DHW.Examples.DHWResistiveWaterHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater") translateModel(BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 110.3 kB / 16.37 MB, free: 6.477 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.001179/0.001179, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.2 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.7938/0.7938, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.5156 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2754, allocations: 82.04 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo:17:42-17:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Automatically loaded package DymolaCommands 0.0.0 due to uses annotation from Modelica_LinearSystems2. Notification: Automatically loaded package Modelica_LinearSystems2 2.4.1 due to usage. Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater): time 0.3704/0.6458, allocations: 75.61 MB / 0.6695 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.6471, allocations: 0.8685 MB / 0.6704 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.6472, allocations: 7.938 kB / 0.6704 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.6474, allocations: 39.59 kB / 0.6704 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.6476, allocations: 87.27 kB / 0.6705 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.648, allocations: 139.7 kB / 0.6706 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.6483, allocations: 319.2 kB / 0.6709 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.6484, allocations: 107.9 kB / 0.671 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.6486, allocations: 127.5 kB / 0.6711 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.6488, allocations: 131.4 kB / 0.6713 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.6488, allocations: 28 kB / 0.6713 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.6489, allocations: 71.89 kB / 0.6714 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.649, allocations: 79.75 kB / 0.6714 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.6492, allocations: 147.3 kB / 0.6716 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.6495, allocations: 382.7 kB / 0.672 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6495, allocations: 0 / 0.672 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6495, allocations: 0 / 0.672 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.6496, allocations: 0 / 0.672 GB, free: 3.711 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0009125/0.6505, allocations: 0.6003 MB / 0.6725 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.6505, allocations: 19.95 kB / 0.6726 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.6506, allocations: 36.5 kB / 0.6726 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.6509, allocations: 267.8 kB / 0.6728 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.651, allocations: 16.94 kB / 0.6729 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.651, allocations: 28.36 kB / 0.6729 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.6515, allocations: 288.5 kB / 0.6732 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6515, allocations: 0 / 0.6732 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.6515, allocations: 8 kB / 0.6732 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6516, allocations: 8 kB / 0.6732 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.652, allocations: 177.8 kB / 0.6734 GB, free: 2.176 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.6534, allocations: 1.233 MB / 0.6746 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007546/0.6541, allocations: 274.1 kB / 0.6748 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.6544, allocations: 112.8 kB / 0.6749 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.6544, allocations: 8 kB / 0.6749 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.6547, allocations: 167.9 kB / 0.6751 GB, free: 252 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 1.572e-06/0.6547, allocations: 0 / 0.6751 GB, free: 252 kB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.0008371/0.6556, allocations: 360.4 kB / 0.6754 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.6556, allocations: 63.41 kB / 0.6755 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.6559, allocations: 233.5 kB / 0.6757 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.6559, allocations: 41.69 kB / 0.6758 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.656, allocations: 148.6 kB / 0.6759 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.6561, allocations: 90.73 kB / 0.676 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.6562, allocations: 69.59 kB / 0.6761 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6563, allocations: 330.8 kB / 0.6764 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.6565, allocations: 121.4 kB / 0.6765 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.6568, allocations: 171.5 kB / 0.6766 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.658, allocations: 483.8 kB / 0.6771 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.658, allocations: 0 / 0.6771 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006107/0.6586, allocations: 341.1 kB / 0.6774 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.6586, allocations: 4 kB / 0.6774 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6586, allocations: 7.984 kB / 0.6774 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6586, allocations: 7.938 kB / 0.6775 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.6589, allocations: 59.91 kB / 0.6775 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6589, allocations: 4.219 kB / 0.6775 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.6591, allocations: 35.73 kB / 0.6775 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.6591, allocations: 12 kB / 0.6776 GB, free: 13.6 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: eCSisotherme.Cons:VARIABLE(flow=false fixed = true ) "Electric consumption in kWh" type: Real eCSisotherme.Hyst:DISCRETE(start = 0 fixed = true ) "Hysteresis" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 18 (debit.discretePart.sampleTrigger,debit.discretePart.ticks,$PRE.debit.discretePart.ticks,sampleClock.sampleTrigger,$whenCondition1,$whenCondition2,$PRE.eCSisotherme.Hyst,$PRE.debit.discretePart.seedState[3],$PRE.debit.discretePart.seedState[2],$PRE.debit.discretePart.seedState[1],debit.discretePart.y_sampled,debit.discretePart.noise,debit.discretePart.seedState[3],debit.discretePart.seedState[2],debit.discretePart.seedState[1],eCSisotherme.Hyst,debit.discretePart.cont,debit.cont) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001669/0.6593, allocations: 168.1 kB / 0.6777 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.6593, allocations: 19.72 kB / 0.6777 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/0.66, allocations: 304 kB / 0.678 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.66, allocations: 7.938 kB / 0.678 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.66, allocations: 0 / 0.678 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.66, allocations: 3.984 kB / 0.678 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.6611, allocations: 0.7411 MB / 0.6788 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.6612, allocations: 8.031 kB / 0.6788 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.6614, allocations: 43.91 kB / 0.6788 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.6614, allocations: 7.922 kB / 0.6788 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.6614, allocations: 8 kB / 0.6788 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6614, allocations: 0 / 0.6788 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6614, allocations: 0 / 0.6788 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008759/0.6623, allocations: 0.5049 MB / 0.6793 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.6624, allocations: 116.8 kB / 0.6794 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.6625, allocations: 12 kB / 0.6794 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.6627, allocations: 11.98 kB / 0.6795 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.6627, allocations: 23.97 kB / 0.6795 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.6628, allocations: 8 kB / 0.6795 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001379/0.6629, allocations: 176.5 kB / 0.6797 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6629, allocations: 0 / 0.6797 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003195/0.6633, allocations: 67.84 kB / 0.6797 GB, free: 11.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (eCSisotherme.PertekWh,eCSisotherme.EnergieCHkWh,eCSisotherme.Cons,eCSisotherme.Eau.T) * Number of discrete variables: 11 (debit.discretePart.sampleTrigger,sampleClock.sampleTrigger,$whenCondition2,$whenCondition1,eCSisotherme.Hyst,debit.discretePart.ticks,debit.discretePart.seedState[1],debit.discretePart.seedState[2],debit.discretePart.seedState[3],debit.discretePart.noise,debit.discretePart.y_sampled) * Number of discrete states: 5 (debit.discretePart.ticks,debit.discretePart.seedState[1],debit.discretePart.seedState[2],debit.discretePart.seedState[3],eCSisotherme.Hyst) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001412/0.6634, allocations: 119.2 kB / 0.6798 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.664, allocations: 289.2 kB / 0.6801 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.664, allocations: 0 / 0.6801 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.6643, allocations: 123.9 kB / 0.6802 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.6647, allocations: 76.5 kB / 0.6803 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.6658, allocations: 0.6389 MB / 0.6809 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.6661, allocations: 0.7675 MB / 0.6817 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.6662, allocations: 42.14 kB / 0.6817 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.6663, allocations: 23.44 kB / 0.6817 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.6663, allocations: 0 / 0.6817 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of Templates: time 0.006429/0.6727, allocations: 3.508 MB / 0.6852 GB, free: 5.66 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater.makefile (rm -f BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater.pipe ; mkfifo BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater.pipe >> ../files/BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater.sim & ./BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater.pipe 2>&1)