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.00117/0.00117, allocations: 109.2 kB / 16.41 MB, free: 6.398 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.00114/0.00114, allocations: 189.5 kB / 17.34 MB, free: 5.695 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.14 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.8056/0.8056, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 67.45 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1518, allocations: 82.04 MB / 0.6763 GB, free: 10.34 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.402/0.5539, allocations: 75.8 MB / 0.7503 GB, free: 16 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3047/0.8586, allocations: 0.8605 MB / 0.7511 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.8588, allocations: 4 kB / 0.7511 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.859, allocations: 41.66 kB / 0.7512 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.8593, allocations: 86.84 kB / 0.7513 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.8597, allocations: 144.2 kB / 0.7514 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.86, allocations: 318.7 kB / 0.7517 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.8602, allocations: 117.6 kB / 0.7518 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.8604, allocations: 124 kB / 0.7519 GB, free: 22.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.8606, allocations: 137 kB / 0.7521 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.8606, allocations: 27.91 kB / 0.7521 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.8608, allocations: 68.83 kB / 0.7522 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.8609, allocations: 75.33 kB / 0.7522 GB, free: 22.72 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.8611, allocations: 148.4 kB / 0.7524 GB, free: 22.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.8615, allocations: 372.8 kB / 0.7527 GB, free: 22.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.8615, allocations: 0 / 0.7527 GB, free: 22.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8615, allocations: 0 / 0.7527 GB, free: 22.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.8615, allocations: 1.25 kB / 0.7527 GB, free: 22.63 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.0009095/0.8624, allocations: 0.6152 MB / 0.7533 GB, free: 22.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.8624, allocations: 9.922 kB / 0.7533 GB, free: 22.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.8626, allocations: 36.78 kB / 0.7534 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.8628, allocations: 280.3 kB / 0.7536 GB, free: 21.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.8629, allocations: 19.09 kB / 0.7537 GB, free: 21.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.8629, allocations: 29.72 kB / 0.7537 GB, free: 21.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.8634, allocations: 276.9 kB / 0.754 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.8634, allocations: 1.062 kB / 0.754 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.8635, allocations: 10.12 kB / 0.754 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.8635, allocations: 5.453 kB / 0.754 GB, free: 21.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.8639, allocations: 189 kB / 0.7541 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.001163/0.8651, allocations: 1.221 MB / 0.7553 GB, free: 21.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.8658, allocations: 272.3 kB / 0.7556 GB, free: 21.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.8661, allocations: 116.1 kB / 0.7557 GB, free: 21.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.8661, allocations: 3.469 kB / 0.7557 GB, free: 21.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.8664, allocations: 165.2 kB / 0.7559 GB, free: 20.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.8665, allocations: 2.5 kB / 0.7559 GB, free: 20.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28): time 0.0008234/0.8673, allocations: 369 kB / 0.7562 GB, free: 20.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.8673, allocations: 54.53 kB / 0.7563 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.8676, allocations: 230.3 kB / 0.7565 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.8676, allocations: 39.47 kB / 0.7565 GB, free: 20.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.8677, allocations: 159.5 kB / 0.7567 GB, free: 20.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.8677, allocations: 90.98 kB / 0.7568 GB, free: 20.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.8678, allocations: 61.3 kB / 0.7568 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.8679, allocations: 335.1 kB / 0.7572 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.8681, allocations: 119.1 kB / 0.7573 GB, free: 20.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.8684, allocations: 169.4 kB / 0.7574 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.8696, allocations: 494 kB / 0.7579 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8696, allocations: 0.5312 kB / 0.7579 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006321/0.8703, allocations: 340.8 kB / 0.7582 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.8703, allocations: 5.781 kB / 0.7582 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.8703, allocations: 3.062 kB / 0.7582 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8703, allocations: 8.875 kB / 0.7582 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.8706, allocations: 59.7 kB / 0.7583 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8706, allocations: 10.83 kB / 0.7583 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.8708, allocations: 33.06 kB / 0.7583 GB, free: 20.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.8708, allocations: 13.73 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.0001612/0.871, allocations: 169.8 kB / 0.7585 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.871, allocations: 25.19 kB / 0.7585 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.8717, allocations: 291.5 kB / 0.7588 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.8717, allocations: 10.61 kB / 0.7588 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.8717, allocations: 4.016 kB / 0.7588 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.8717, allocations: 1.453 kB / 0.7588 GB, free: 19.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.8728, allocations: 0.7455 MB / 0.7596 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8728, allocations: 0.9688 kB / 0.7596 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.8731, allocations: 44.33 kB / 0.7596 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8731, allocations: 2.797 kB / 0.7596 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.8731, allocations: 6.859 kB / 0.7596 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.8731, allocations: 2.094 kB / 0.7596 GB, free: 19.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8731, allocations: 8.031 kB / 0.7596 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.874, allocations: 0.4995 MB / 0.7601 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.8741, allocations: 117.9 kB / 0.7602 GB, free: 19.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.8742, allocations: 14.31 kB / 0.7602 GB, free: 19.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.8743, allocations: 13.38 kB / 0.7602 GB, free: 19.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.8744, allocations: 20.2 kB / 0.7603 GB, free: 19.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.8744, allocations: 15.19 kB / 0.7603 GB, free: 19.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001413/0.8746, allocations: 170.6 kB / 0.7604 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8746, allocations: 0 / 0.7604 GB, free: 19.17 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003697/0.875, allocations: 66.09 kB / 0.7605 GB, free: 19.16 MB / 0.5762 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.0001421/0.8751, allocations: 124.9 kB / 0.7606 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006048/0.8757, allocations: 286.7 kB / 0.7609 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8757, allocations: 0 / 0.7609 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.876, allocations: 130.3 kB / 0.761 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.8765, allocations: 63.56 kB / 0.7611 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.8776, allocations: 0.6723 MB / 0.7617 GB, free: 18.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.8778, allocations: 0.7691 MB / 0.7625 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.111e-05/0.8779, allocations: 26.11 kB / 0.7625 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.8779, allocations: 0 / 0.7625 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.006175/0.8841, allocations: 3.673 MB / 0.7661 GB, free: 17.9 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)