Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00575/0.00575, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001594/0.001594, allocations: 195.4 kB / 16.67 MB, free: 5.934 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9875/0.9875, allocations: 135.6 MB / 426.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 71.89 kB / 0.5857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3475, allocations: 81.02 MB / 0.6649 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.04208/0.3896, allocations: 43.32 MB / 0.7072 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.4004, allocations: 7.32 MB / 0.7143 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.4018, allocations: 43.75 kB / 0.7144 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.403, allocations: 488.3 kB / 0.7148 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.4068, allocations: 1.423 MB / 0.7162 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.4094, allocations: 1.06 MB / 0.7172 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00297/0.4123, allocations: 2.53 MB / 0.7197 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.4135, allocations: 0.8741 MB / 0.7206 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.4157, allocations: 1.225 MB / 0.7218 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008194/0.4166, allocations: 0.6961 MB / 0.7224 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.4167, allocations: 84 kB / 0.7225 GB, free: 5.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.4183, allocations: 0.8148 MB / 0.7233 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.4186, allocations: 239.1 kB / 0.7236 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.4191, allocations: 0.5053 MB / 0.724 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.4212, allocations: 1.578 MB / 0.7256 GB, free: 2.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4212, allocations: 0 / 0.7256 GB, free: 2.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4212, allocations: 0 / 0.7256 GB, free: 2.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.4212, allocations: 0 / 0.7256 GB, free: 2.5 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002041/0.4233, allocations: 1.396 MB / 0.7269 GB, free: 1.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4233, allocations: 12.03 kB / 0.727 GB, free: 1.023 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.4235, allocations: 118.7 kB / 0.7271 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.4237, allocations: 120.2 kB / 0.7272 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.4248, allocations: 0.7648 MB / 0.7279 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.4249, allocations: 58 kB / 0.728 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.425, allocations: 68 kB / 0.7281 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4264, allocations: 0.8339 MB / 0.7289 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4265, allocations: 4 kB / 0.7289 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.4265, allocations: 28 kB / 0.7289 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.4266, allocations: 16 kB / 0.7289 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.4279, allocations: 0.5904 MB / 0.7295 GB, free: 14.32 MB / 0.5606 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.003974/0.4319, allocations: 3.981 MB / 0.7334 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.4331, allocations: 378.4 kB / 0.7337 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/0.4336, allocations: 236.6 kB / 0.734 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.4346, allocations: 1.31 MB / 0.7352 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007141/0.4354, allocations: 293.8 kB / 0.7355 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 2.915e-06/0.4354, allocations: 3.938 kB / 0.7355 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.001868/0.4373, allocations: 0.7016 MB / 0.7362 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.4373, allocations: 63.41 kB / 0.7363 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/0.4382, allocations: 0.7238 MB / 0.737 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.4383, allocations: 37.7 kB / 0.737 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.4386, allocations: 464.4 kB / 0.7375 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.4388, allocations: 130.9 kB / 0.7376 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.439, allocations: 138.2 kB / 0.7377 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4391, allocations: 326 kB / 0.738 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.4397, allocations: 217 kB / 0.7382 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.4405, allocations: 419.7 kB / 0.7386 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.4417, allocations: 0.6521 MB / 0.7393 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4417, allocations: 0 / 0.7393 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001684/0.4434, allocations: 0.7863 MB / 0.74 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.4435, allocations: 63.34 kB / 0.7401 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4435, allocations: 8 kB / 0.7401 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.4435, allocations: 11.94 kB / 0.7401 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.444, allocations: 136.3 kB / 0.7403 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.4441, allocations: 15.98 kB / 0.7403 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.4447, allocations: 103.5 kB / 0.7404 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.4448, allocations: 35.98 kB / 0.7404 GB, free: 2.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0003285/0.4451, allocations: 254.2 kB / 0.7406 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.4452, allocations: 91.38 kB / 0.7407 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.4475, allocations: 1.104 MB / 0.7418 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.4475, allocations: 15.98 kB / 0.7418 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.4475, allocations: 3.984 kB / 0.7418 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4475, allocations: 7.922 kB / 0.7418 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.4505, allocations: 1.917 MB / 0.7437 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.4506, allocations: 7.938 kB / 0.7437 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.451, allocations: 103.8 kB / 0.7438 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.451, allocations: 4 kB / 0.7438 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.451, allocations: 24.36 kB / 0.7438 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.4511, allocations: 11.94 kB / 0.7439 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4511, allocations: 4 kB / 0.7439 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.4536, allocations: 1.407 MB / 0.7452 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.4539, allocations: 264.1 kB / 0.7455 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.4541, allocations: 16 kB / 0.7455 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/0.4546, allocations: 55.94 kB / 0.7455 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.4547, allocations: 76.41 kB / 0.7456 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.4548, allocations: 27.98 kB / 0.7456 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006318/0.4554, allocations: 0.4912 MB / 0.7461 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4554, allocations: 0 / 0.7461 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009414/0.4564, allocations: 339.2 kB / 0.7465 GB, free: 11.94 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.003557/0.4599, allocations: 2.268 MB / 0.7487 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.4616, allocations: 0.7673 MB / 0.7494 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.4616, allocations: 4 kB / 0.7494 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009527/0.4625, allocations: 459.8 kB / 0.7499 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.4643, allocations: 375.3 kB / 0.7502 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009866/0.4741, allocations: 6.607 MB / 0.7567 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.4748, allocations: 1.022 MB / 0.7577 GB, free: 16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005276/0.4754, allocations: 170.5 kB / 0.7578 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.4758, allocations: 355.2 kB / 0.7582 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.4758, allocations: 4 kB / 0.7582 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05617/0.532, allocations: 26.93 MB / 0.7845 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.545/10.08, allocations: 4 kB / 0.7845 GB, free: 4.844 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap_res.csv --start-time 0 --stop-time 259200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 103.68 IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1)