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.0007993/0.0007994, allocations: 98.03 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.00442/0.00442, allocations: 169.7 kB / 16.27 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.114/1.114, allocations: 223.3 MB / 240.3 MB, free: 5.234 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.8173/0.8173, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002571/0.0002571, allocations: 12 kB / 0.5164 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 83.41 MB / 0.5978 GB, free: 7.703 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. Notification: Automatically loaded package Modelica_LinearSystems2 2.4.1 due to usage. Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater): time 0.618/0.7376, allocations: 75.8 MB / 0.6719 GB, free: 8.715 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.7385, allocations: 0.8492 MB / 0.6727 GB, free: 8.039 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.7387, allocations: 9.344 kB / 0.6727 GB, free: 8.035 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.7388, allocations: 22.31 kB / 0.6727 GB, free: 8.016 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.739, allocations: 82.75 kB / 0.6728 GB, free: 7.945 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.7392, allocations: 126.1 kB / 0.6729 GB, free: 7.852 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.7394, allocations: 288.3 kB / 0.6732 GB, free: 7.688 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.7396, allocations: 101.4 kB / 0.6733 GB, free: 7.629 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.7397, allocations: 98.89 kB / 0.6734 GB, free: 7.574 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.7399, allocations: 123.4 kB / 0.6735 GB, free: 7.488 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.7399, allocations: 11.59 kB / 0.6735 GB, free: 7.488 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.74, allocations: 47.31 kB / 0.6736 GB, free: 7.473 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.7401, allocations: 67.11 kB / 0.6736 GB, free: 7.422 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.7402, allocations: 144.3 kB / 0.6738 GB, free: 7.312 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.7404, allocations: 338.6 kB / 0.6741 GB, free: 7.07 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7404, allocations: 0 / 0.6741 GB, free: 7.07 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.183e-06/0.7405, allocations: 0 / 0.6741 GB, free: 7.07 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.7405, allocations: 0 / 0.6741 GB, free: 7.07 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.0007421/0.7412, allocations: 0.5708 MB / 0.6746 GB, free: 6.555 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.7412, allocations: 8.844 kB / 0.6746 GB, free: 6.555 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.7413, allocations: 33.81 kB / 0.6747 GB, free: 6.539 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.7416, allocations: 289.8 kB / 0.6749 GB, free: 6.25 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.7416, allocations: 14.81 kB / 0.675 GB, free: 6.246 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.7416, allocations: 24.56 kB / 0.675 GB, free: 6.238 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.7421, allocations: 288 kB / 0.6753 GB, free: 6.047 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.7421, allocations: 8.812 kB / 0.6753 GB, free: 6.039 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.7421, allocations: 11 kB / 0.6753 GB, free: 6.031 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.7421, allocations: 6.188 kB / 0.6753 GB, free: 6.031 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.7426, allocations: 198.1 kB / 0.6755 GB, free: 5.941 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.001026/0.7436, allocations: 1.223 MB / 0.6767 GB, free: 4.777 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.7443, allocations: 282.7 kB / 0.6769 GB, free: 4.641 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.7446, allocations: 129.8 kB / 0.6771 GB, free: 4.574 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.7446, allocations: 3.062 kB / 0.6771 GB, free: 4.574 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.7449, allocations: 184.9 kB / 0.6772 GB, free: 4.449 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.7449, allocations: 4 kB / 0.6772 GB, free: 4.445 MB / 0.4982 GB Notification: Performance of matching and sorting (n=28): time 0.0007848/0.7457, allocations: 385.2 kB / 0.6776 GB, free: 4.262 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.7458, allocations: 55.53 kB / 0.6777 GB, free: 4.199 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.7459, allocations: 229.1 kB / 0.6779 GB, free: 4.035 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.746, allocations: 37.83 kB / 0.6779 GB, free: 3.996 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.746, allocations: 160.8 kB / 0.6781 GB, free: 3.848 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.7461, allocations: 82.38 kB / 0.6782 GB, free: 3.777 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.7461, allocations: 42.81 kB / 0.6782 GB, free: 3.742 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.295e-05/0.7462, allocations: 340.5 kB / 0.6785 GB, free: 3.406 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.7464, allocations: 126.4 kB / 0.6786 GB, free: 3.34 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.7466, allocations: 176.6 kB / 0.6788 GB, free: 3.207 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.7478, allocations: 0.5012 MB / 0.6793 GB, free: 2.926 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.7478, allocations: 5 kB / 0.6793 GB, free: 2.922 MB / 0.4982 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005704/0.7484, allocations: 347.2 kB / 0.6796 GB, free: 2.75 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7484, allocations: 13.86 kB / 0.6796 GB, free: 2.746 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7484, allocations: 2.625 kB / 0.6796 GB, free: 2.746 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.7484, allocations: 7.531 kB / 0.6797 GB, free: 2.742 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.7487, allocations: 64.75 kB / 0.6797 GB, free: 2.727 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7487, allocations: 4.312 kB / 0.6797 GB, free: 2.727 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.7489, allocations: 47.12 kB / 0.6798 GB, free: 2.695 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.7489, allocations: 12.53 kB / 0.6798 GB, free: 2.691 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.0001359/0.749, allocations: 162.6 kB / 0.6799 GB, free: 2.543 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.7491, allocations: 22.41 kB / 0.68 GB, free: 2.531 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005857/0.7497, allocations: 307.3 kB / 0.6802 GB, free: 2.367 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.7497, allocations: 10.8 kB / 0.6803 GB, free: 2.359 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7497, allocations: 7.875 kB / 0.6803 GB, free: 2.352 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.7497, allocations: 0 / 0.6803 GB, free: 2.352 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009665/0.7507, allocations: 0.7563 MB / 0.681 GB, free: 1.77 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7507, allocations: 4.094 kB / 0.681 GB, free: 1.766 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.7509, allocations: 56.56 kB / 0.6811 GB, free: 1.746 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7509, allocations: 1.625 kB / 0.6811 GB, free: 1.746 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.7509, allocations: 6.406 kB / 0.6811 GB, free: 1.742 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7509, allocations: 1.469 kB / 0.6811 GB, free: 1.742 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7509, allocations: 0 / 0.6811 GB, free: 1.742 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007865/0.7517, allocations: 0.5241 MB / 0.6816 GB, free: 1.41 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.7518, allocations: 122.7 kB / 0.6817 GB, free: 1.281 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.7519, allocations: 9.719 kB / 0.6817 GB, free: 1.277 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.752, allocations: 23.78 kB / 0.6817 GB, free: 1.266 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.7521, allocations: 21.56 kB / 0.6818 GB, free: 1.254 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.7521, allocations: 9.828 kB / 0.6818 GB, free: 1.25 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.0001123/0.7523, allocations: 171.8 kB / 0.6819 GB, free: 1.129 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7523, allocations: 0 / 0.6819 GB, free: 1.129 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.0002897/0.7526, allocations: 68.12 kB / 0.682 GB, free: 1.113 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.0001166/0.7527, allocations: 129.3 kB / 0.6821 GB, free: 1.004 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0005311/0.7532, allocations: 295.2 kB / 0.6824 GB, free: 0.8672 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7532, allocations: 0 / 0.6824 GB, free: 0.8672 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.7535, allocations: 129.4 kB / 0.6825 GB, free: 0.8203 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.7539, allocations: 71.17 kB / 0.6826 GB, free: 0.7812 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.7548, allocations: 0.8113 MB / 0.6834 GB, free: 180 kB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.7551, allocations: 0.7656 MB / 0.6841 GB, free: 15.44 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.7552, allocations: 34.72 kB / 0.6842 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.7553, allocations: 25.66 kB / 0.6842 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of SimCode: time 3e-07/0.7553, allocations: 1.312 kB / 0.6842 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of Templates: time 0.005343/0.7606, allocations: 3.273 MB / 0.6874 GB, free: 13.8 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)