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.005935/0.005935, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001418/0.001418, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.9128/0.9128, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 0.5955 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3246, allocations: 82.04 MB / 0.6756 GB, free: 1.555 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.3942/0.7189, allocations: 75.8 MB / 0.7496 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.7203, allocations: 0.8803 MB / 0.7505 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.7206, allocations: 4 kB / 0.7505 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.7207, allocations: 35.58 kB / 0.7505 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.7211, allocations: 91.27 kB / 0.7506 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.7215, allocations: 147.7 kB / 0.7507 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.7218, allocations: 315.2 kB / 0.751 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.722, allocations: 115.9 kB / 0.7511 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.7222, allocations: 127.5 kB / 0.7513 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.7224, allocations: 127.4 kB / 0.7514 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/0.7224, allocations: 31.94 kB / 0.7514 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.7226, allocations: 79.94 kB / 0.7515 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/0.7227, allocations: 67.77 kB / 0.7516 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.7229, allocations: 159.2 kB / 0.7517 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.7233, allocations: 366.8 kB / 0.7521 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.7233, allocations: 0 / 0.7521 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7233, allocations: 0 / 0.7521 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.7233, allocations: 0 / 0.7521 GB, free: 9.75 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.001011/0.7243, allocations: 0.6157 MB / 0.7527 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.7243, allocations: 8.031 kB / 0.7527 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.7245, allocations: 36.56 kB / 0.7527 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.7248, allocations: 267.7 kB / 0.753 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.7248, allocations: 24.88 kB / 0.753 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.7249, allocations: 28.38 kB / 0.753 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.7254, allocations: 284.5 kB / 0.7533 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7254, allocations: 0 / 0.7533 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.7255, allocations: 11.98 kB / 0.7533 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.7255, allocations: 11.98 kB / 0.7533 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.726, allocations: 185.7 kB / 0.7535 GB, free: 8.195 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.001365/0.7274, allocations: 1.209 MB / 0.7547 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/0.7281, allocations: 270.9 kB / 0.7549 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.7284, allocations: 116.8 kB / 0.755 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.7284, allocations: 4 kB / 0.755 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/0.7288, allocations: 171.9 kB / 0.7552 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.7288, allocations: 3.938 kB / 0.7552 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28): time 0.0008723/0.7297, allocations: 367.7 kB / 0.7556 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.7297, allocations: 55.41 kB / 0.7556 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.7299, allocations: 233.5 kB / 0.7558 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.73, allocations: 33.7 kB / 0.7559 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.7301, allocations: 164.5 kB / 0.756 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-05/0.7302, allocations: 82.8 kB / 0.7561 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/0.7302, allocations: 61.7 kB / 0.7562 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.7303, allocations: 338.8 kB / 0.7565 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.7306, allocations: 125.4 kB / 0.7566 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.7309, allocations: 171.5 kB / 0.7568 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.7321, allocations: 484.5 kB / 0.7572 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7322, allocations: 4 kB / 0.7572 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006389/0.7328, allocations: 340.9 kB / 0.7576 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.7328, allocations: 8 kB / 0.7576 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7328, allocations: 0 / 0.7576 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.7329, allocations: 7.938 kB / 0.7576 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.7331, allocations: 72.11 kB / 0.7576 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7331, allocations: 4 kB / 0.7576 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.7333, allocations: 31.77 kB / 0.7577 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.7334, allocations: 12 kB / 0.7577 GB, free: 3.625 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.0001811/0.7335, allocations: 163.9 kB / 0.7578 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.7336, allocations: 23.72 kB / 0.7579 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.7342, allocations: 292 kB / 0.7581 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.7343, allocations: 7.938 kB / 0.7582 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7343, allocations: 0 / 0.7582 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7343, allocations: 0 / 0.7582 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.7354, allocations: 0.7452 MB / 0.7589 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7354, allocations: 3.938 kB / 0.7589 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.7357, allocations: 43.97 kB / 0.7589 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.7357, allocations: 0 / 0.7589 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.7357, allocations: 16.05 kB / 0.7589 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7357, allocations: 0 / 0.7589 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7357, allocations: 0 / 0.7589 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/0.7366, allocations: 0.4933 MB / 0.7594 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.7367, allocations: 120.7 kB / 0.7595 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.7368, allocations: 15.98 kB / 0.7596 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.737, allocations: 11.98 kB / 0.7596 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.7371, allocations: 27.91 kB / 0.7596 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.7371, allocations: 12 kB / 0.7596 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001452/0.7372, allocations: 172.5 kB / 0.7598 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7373, allocations: 0 / 0.7598 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003251/0.7376, allocations: 71.75 kB / 0.7598 GB, free: 1.305 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.0001558/0.7377, allocations: 115.3 kB / 0.7599 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.7384, allocations: 296.8 kB / 0.7602 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7384, allocations: 0 / 0.7602 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.7387, allocations: 127.8 kB / 0.7603 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.7392, allocations: 70.83 kB / 0.7604 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.7402, allocations: 0.6366 MB / 0.761 GB, free: 40 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.7405, allocations: 0.7711 MB / 0.7618 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.7407, allocations: 30.28 kB / 0.7618 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.7407, allocations: 23.44 kB / 0.7618 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.7407, allocations: 0 / 0.7618 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of Templates: time 0.006729/0.7475, allocations: 3.569 MB / 0.7653 GB, free: 11.66 MB / 0.5919 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)