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.001078/0.001078, allocations: 112.4 kB / 16.42 MB, free: 6.516 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.001038/0.001038, allocations: 187.9 kB / 17.35 MB, free: 5.738 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 / 241.1 MB, free: 15.15 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.8378/0.8378, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 55.53 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1393, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 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.709/0.8484, allocations: 75.87 MB / 0.7504 GB, free: 22.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.8498, allocations: 0.856 MB / 0.7512 GB, free: 22.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.8499, allocations: 6.5 kB / 0.7512 GB, free: 22.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.8501, allocations: 42.28 kB / 0.7512 GB, free: 22.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.8504, allocations: 87.88 kB / 0.7513 GB, free: 22.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.8507, allocations: 144.5 kB / 0.7515 GB, free: 22.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.851, allocations: 315.7 kB / 0.7518 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.8512, allocations: 119.7 kB / 0.7519 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.8514, allocations: 124.9 kB / 0.752 GB, free: 22.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.8516, allocations: 133.2 kB / 0.7521 GB, free: 22.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.8517, allocations: 28.53 kB / 0.7522 GB, free: 22.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.8518, allocations: 69.94 kB / 0.7522 GB, free: 22.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.8519, allocations: 80.98 kB / 0.7523 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.8521, allocations: 147.6 kB / 0.7524 GB, free: 22.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.8525, allocations: 365.7 kB / 0.7528 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.8525, allocations: 0 / 0.7528 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8525, allocations: 1.031 kB / 0.7528 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.8525, allocations: 1.344 kB / 0.7528 GB, free: 22.64 MB / 0.5762 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.0009484/0.8535, allocations: 0.6164 MB / 0.7534 GB, free: 22.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.8535, allocations: 8.031 kB / 0.7534 GB, free: 22.2 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.8536, allocations: 35.28 kB / 0.7534 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.8539, allocations: 281.1 kB / 0.7537 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.8539, allocations: 23.19 kB / 0.7537 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.854, allocations: 27.16 kB / 0.7538 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.8545, allocations: 278.6 kB / 0.754 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.8545, allocations: 0.9375 kB / 0.754 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.8545, allocations: 10.12 kB / 0.754 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.8546, allocations: 5.406 kB / 0.754 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.8551, allocations: 185.7 kB / 0.7542 GB, free: 21.89 MB / 0.5762 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.00123/0.8563, allocations: 1.222 MB / 0.7554 GB, free: 21.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.8571, allocations: 269.4 kB / 0.7557 GB, free: 21.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.8574, allocations: 116.8 kB / 0.7558 GB, free: 21.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.8574, allocations: 5.609 kB / 0.7558 GB, free: 21.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.8578, allocations: 165.4 kB / 0.7559 GB, free: 21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.8578, allocations: 0 / 0.7559 GB, free: 21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28): time 0.0008891/0.8587, allocations: 368.7 kB / 0.7563 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.8587, allocations: 56.08 kB / 0.7563 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.8589, allocations: 232.9 kB / 0.7566 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.8589, allocations: 33.92 kB / 0.7566 GB, free: 20.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.859, allocations: 163.7 kB / 0.7568 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.8591, allocations: 86.91 kB / 0.7568 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.048e-05/0.8592, allocations: 59.95 kB / 0.7569 GB, free: 20.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.8592, allocations: 338.4 kB / 0.7572 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.8595, allocations: 119.9 kB / 0.7573 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.8598, allocations: 170.4 kB / 0.7575 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.8611, allocations: 490.5 kB / 0.758 GB, free: 20.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8611, allocations: 3.625 kB / 0.758 GB, free: 20.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000672/0.8618, allocations: 337.3 kB / 0.7583 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.8618, allocations: 6.891 kB / 0.7583 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8618, allocations: 8.625 kB / 0.7583 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.8618, allocations: 4.047 kB / 0.7583 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.8621, allocations: 67.67 kB / 0.7584 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.8621, allocations: 4.203 kB / 0.7584 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.8623, allocations: 36.64 kB / 0.7584 GB, free: 20.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.8624, allocations: 13.92 kB / 0.7584 GB, free: 20.03 MB / 0.5762 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.0001732/0.8625, allocations: 169.5 kB / 0.7586 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.8626, allocations: 24.97 kB / 0.7586 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007199/0.8633, allocations: 292.7 kB / 0.7589 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.8633, allocations: 5.062 kB / 0.7589 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8633, allocations: 0.75 kB / 0.7589 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.8634, allocations: 121.7 kB / 0.759 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.8635, allocations: 11.06 kB / 0.759 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.8637, allocations: 15.69 kB / 0.759 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.8637, allocations: 21.72 kB / 0.7591 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008688/0.8646, allocations: 402.1 kB / 0.7594 GB, free: 19.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009645/0.8656, allocations: 0.5668 MB / 0.76 GB, free: 19.4 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002848/0.8659, allocations: 119.5 kB / 0.7601 GB, free: 19.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001469/0.866, allocations: 174.9 kB / 0.7603 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of Backend: time 4.81e-07/0.866, allocations: 0 / 0.7603 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007551/0.8668, allocations: 287.8 kB / 0.7605 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001109/0.8679, allocations: 1.058 MB / 0.7616 GB, free: 18.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.008434/0.8764, allocations: 3.816 MB / 0.7653 GB, free: 18.43 MB / 0.5762 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)