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.001261/0.001261, allocations: 108 kB / 15.61 MB, free: 148 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.001128/0.001128, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.9342/0.9342, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 0.5141 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1579, allocations: 82.04 MB / 0.5943 GB, free: 9.582 MB / 0.4981 GB [/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.8567/1.015, allocations: 75.79 MB / 0.6683 GB, free: 10.05 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.001222/1.016, allocations: 0.8658 MB / 0.6691 GB, free: 9.355 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/1.016, allocations: 3.281 kB / 0.6691 GB, free: 9.355 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/1.016, allocations: 42.7 kB / 0.6692 GB, free: 9.316 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0002756/1.017, allocations: 91.05 kB / 0.6692 GB, free: 9.238 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/1.017, allocations: 146 kB / 0.6694 GB, free: 9.129 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/1.017, allocations: 303.4 kB / 0.6697 GB, free: 8.953 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/1.017, allocations: 112.9 kB / 0.6698 GB, free: 8.887 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/1.017, allocations: 127 kB / 0.6699 GB, free: 8.809 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/1.018, allocations: 136.5 kB / 0.67 GB, free: 8.711 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/1.018, allocations: 28.16 kB / 0.6701 GB, free: 8.711 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/1.018, allocations: 69.3 kB / 0.6701 GB, free: 8.691 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/1.018, allocations: 86.09 kB / 0.6702 GB, free: 8.621 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/1.018, allocations: 148.9 kB / 0.6704 GB, free: 8.516 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/1.018, allocations: 365.9 kB / 0.6707 GB, free: 8.25 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.018, allocations: 1.094 kB / 0.6707 GB, free: 8.25 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.613e-06/1.018, allocations: 0 / 0.6707 GB, free: 8.25 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.018, allocations: 0 / 0.6707 GB, free: 8.25 MB / 0.4982 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.0009043/1.019, allocations: 0.6094 MB / 0.6713 GB, free: 7.707 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/1.019, allocations: 13.19 kB / 0.6713 GB, free: 7.703 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/1.02, allocations: 33.31 kB / 0.6713 GB, free: 7.688 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/1.02, allocations: 269.2 kB / 0.6716 GB, free: 7.418 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/1.02, allocations: 19.88 kB / 0.6716 GB, free: 7.41 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/1.02, allocations: 25.38 kB / 0.6716 GB, free: 7.402 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/1.02, allocations: 288.9 kB / 0.6719 GB, free: 7.207 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.02, allocations: 0.9375 kB / 0.6719 GB, free: 7.207 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/1.02, allocations: 10.12 kB / 0.6719 GB, free: 7.199 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/1.02, allocations: 5.656 kB / 0.6719 GB, free: 7.199 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/1.021, allocations: 178.4 kB / 0.6721 GB, free: 7.121 MB / 0.4982 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.001158/1.022, allocations: 1.238 MB / 0.6733 GB, free: 5.941 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/1.023, allocations: 275.7 kB / 0.6736 GB, free: 5.797 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/1.023, allocations: 114.8 kB / 0.6737 GB, free: 5.738 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/1.023, allocations: 2.562 kB / 0.6737 GB, free: 5.738 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003293/1.023, allocations: 171.2 kB / 0.6739 GB, free: 5.617 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/1.023, allocations: 0 / 0.6739 GB, free: 5.617 MB / 0.4982 GB Notification: Performance of matching and sorting (n=28): time 0.0008595/1.024, allocations: 367.5 kB / 0.6742 GB, free: 5.438 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/1.024, allocations: 54.28 kB / 0.6743 GB, free: 5.375 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/1.025, allocations: 232.8 kB / 0.6745 GB, free: 5.207 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/1.025, allocations: 42.03 kB / 0.6745 GB, free: 5.164 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/1.025, allocations: 160.9 kB / 0.6747 GB, free: 5.016 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/1.025, allocations: 81.92 kB / 0.6747 GB, free: 4.945 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/1.025, allocations: 69.94 kB / 0.6748 GB, free: 4.895 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/1.025, allocations: 337.1 kB / 0.6751 GB, free: 4.562 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/1.025, allocations: 113 kB / 0.6752 GB, free: 4.504 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/1.025, allocations: 170.2 kB / 0.6754 GB, free: 4.371 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.027, allocations: 483.5 kB / 0.6759 GB, free: 4.094 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.027, allocations: 0 / 0.6759 GB, free: 4.094 MB / 0.4982 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000614/1.027, allocations: 344.6 kB / 0.6762 GB, free: 3.914 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.027, allocations: 5.188 kB / 0.6762 GB, free: 3.914 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.027, allocations: 6.719 kB / 0.6762 GB, free: 3.91 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.027, allocations: 11.89 kB / 0.6762 GB, free: 3.902 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/1.028, allocations: 57.41 kB / 0.6763 GB, free: 3.891 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.028, allocations: 3.312 kB / 0.6763 GB, free: 3.891 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/1.028, allocations: 39.61 kB / 0.6763 GB, free: 3.863 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/1.028, allocations: 12.72 kB / 0.6763 GB, free: 3.859 MB / 0.4982 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.0001713/1.028, allocations: 162.7 kB / 0.6765 GB, free: 3.711 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/1.028, allocations: 22.25 kB / 0.6765 GB, free: 3.699 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/1.029, allocations: 305.2 kB / 0.6768 GB, free: 3.523 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/1.029, allocations: 6.375 kB / 0.6768 GB, free: 3.52 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.029, allocations: 0 / 0.6768 GB, free: 3.52 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.029, allocations: 3.984 kB / 0.6768 GB, free: 3.516 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/1.03, allocations: 0.7418 MB / 0.6775 GB, free: 2.93 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.03, allocations: 4.062 kB / 0.6775 GB, free: 2.926 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/1.03, allocations: 44.91 kB / 0.6776 GB, free: 2.914 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.03, allocations: 1.375 kB / 0.6776 GB, free: 2.914 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/1.03, allocations: 10.73 kB / 0.6776 GB, free: 2.906 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.03, allocations: 2.75 kB / 0.6776 GB, free: 2.906 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.03, allocations: 0 / 0.6776 GB, free: 2.906 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008486/1.031, allocations: 0.501 MB / 0.6781 GB, free: 2.578 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/1.031, allocations: 123.2 kB / 0.6782 GB, free: 2.449 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/1.031, allocations: 9.125 kB / 0.6782 GB, free: 2.445 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/1.031, allocations: 15.7 kB / 0.6782 GB, free: 2.438 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/1.031, allocations: 20.75 kB / 0.6782 GB, free: 2.426 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/1.031, allocations: 10.31 kB / 0.6782 GB, free: 2.422 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.0001239/1.032, allocations: 175.8 kB / 0.6784 GB, free: 2.297 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.2e-07/1.032, allocations: 0 / 0.6784 GB, free: 2.297 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.0003705/1.032, allocations: 68.38 kB / 0.6785 GB, free: 2.281 MB / 0.4982 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.0001499/1.032, allocations: 122 kB / 0.6786 GB, free: 2.18 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0006775/1.033, allocations: 296 kB / 0.6789 GB, free: 2.035 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.033, allocations: 0 / 0.6789 GB, free: 2.035 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/1.033, allocations: 132.2 kB / 0.679 GB, free: 1.977 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/1.034, allocations: 73.53 kB / 0.6791 GB, free: 1.945 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/1.035, allocations: 0.6471 MB / 0.6797 GB, free: 1.504 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/1.035, allocations: 0.7621 MB / 0.6805 GB, free: 0.7695 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.0001301/1.035, allocations: 25.86 kB / 0.6805 GB, free: 0.7617 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/1.035, allocations: 31.08 kB / 0.6805 GB, free: 0.7461 MB / 0.4982 GB Notification: Performance of SimCode: time 2.3e-07/1.035, allocations: 0 / 0.6805 GB, free: 0.7461 MB / 0.4982 GB Notification: Performance of Templates: time 0.006498/1.042, allocations: 3.514 MB / 0.6839 GB, free: 15.01 MB / 0.5138 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater.pipe 2>&1)