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.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9574/0.9574, allocations: 135.6 MB / 426 MB, free: 12.03 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 73.27 kB / 0.506 GB, free: 4.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1485, allocations: 81.01 MB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.2571/0.4057, allocations: 43.33 MB / 0.6274 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007575/0.4133, allocations: 7.307 MB / 0.6345 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008628/0.4142, allocations: 42.78 kB / 0.6346 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.4151, allocations: 496.8 kB / 0.635 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.4176, allocations: 1.425 MB / 0.6364 GB, free: 22.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.4194, allocations: 1.041 MB / 0.6375 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.4212, allocations: 2.536 MB / 0.6399 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008698/0.422, allocations: 0.8582 MB / 0.6408 GB, free: 20.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.4237, allocations: 1.232 MB / 0.642 GB, free: 19.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.4243, allocations: 0.6982 MB / 0.6427 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.4244, allocations: 82.81 kB / 0.6427 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.4258, allocations: 0.8055 MB / 0.6435 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.4259, allocations: 221.9 kB / 0.6437 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.4263, allocations: 0.5204 MB / 0.6442 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.4276, allocations: 1.543 MB / 0.6457 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4277, allocations: 0 / 0.6457 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4277, allocations: 0 / 0.6457 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.4277, allocations: 3.938 kB / 0.6457 GB, free: 18.28 MB / 0.4981 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.001628/0.4293, allocations: 1.366 MB / 0.6471 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4294, allocations: 10.25 kB / 0.6471 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.563e-05/0.4295, allocations: 112.8 kB / 0.6472 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.4296, allocations: 111.5 kB / 0.6473 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007289/0.4304, allocations: 0.6971 MB / 0.648 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.4304, allocations: 57.69 kB / 0.648 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.4305, allocations: 67.09 kB / 0.6481 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.4317, allocations: 0.8369 MB / 0.6489 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.4317, allocations: 3.938 kB / 0.6489 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.4318, allocations: 32.34 kB / 0.649 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.4318, allocations: 18.31 kB / 0.649 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.433, allocations: 0.5851 MB / 0.6495 GB, free: 16.01 MB / 0.4981 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.002801/0.4358, allocations: 4.01 MB / 0.6535 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.4368, allocations: 376.8 kB / 0.6538 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000484/0.4373, allocations: 231.8 kB / 0.654 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006399/0.438, allocations: 1.307 MB / 0.6553 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006516/0.4386, allocations: 302.8 kB / 0.6556 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 2.615e-06/0.4386, allocations: 0 / 0.6556 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.001752/0.4404, allocations: 0.6997 MB / 0.6563 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.4404, allocations: 60.47 kB / 0.6564 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007804/0.4412, allocations: 0.7286 MB / 0.6571 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.4413, allocations: 38.52 kB / 0.6571 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.4415, allocations: 445 kB / 0.6575 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/0.4416, allocations: 132.8 kB / 0.6577 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.4418, allocations: 134.2 kB / 0.6578 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.4419, allocations: 331.5 kB / 0.6581 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.4424, allocations: 211.5 kB / 0.6583 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.4431, allocations: 424.1 kB / 0.6587 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.4442, allocations: 0.6468 MB / 0.6593 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4442, allocations: 2.031 kB / 0.6593 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001616/0.4458, allocations: 0.7774 MB / 0.6601 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.4459, allocations: 62.61 kB / 0.6602 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4459, allocations: 5.5 kB / 0.6602 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.4459, allocations: 20.89 kB / 0.6602 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.4464, allocations: 132.1 kB / 0.6603 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.4464, allocations: 18.45 kB / 0.6603 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006494/0.4471, allocations: 107.7 kB / 0.6604 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.4472, allocations: 35.83 kB / 0.6605 GB, free: 8.215 MB / 0.4981 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.0002796/0.4475, allocations: 242.5 kB / 0.6607 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4476, allocations: 84.75 kB / 0.6608 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.4498, allocations: 1.112 MB / 0.6619 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.4498, allocations: 14.33 kB / 0.6619 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4499, allocations: 1.062 kB / 0.6619 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.4499, allocations: 3.375 kB / 0.6619 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.4527, allocations: 1.925 MB / 0.6638 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4527, allocations: 2.312 kB / 0.6638 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.4531, allocations: 100.5 kB / 0.6639 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.4531, allocations: 4.625 kB / 0.6639 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.4531, allocations: 21.84 kB / 0.6639 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.4532, allocations: 6.703 kB / 0.6639 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4532, allocations: 6.781 kB / 0.6639 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.4555, allocations: 1.41 MB / 0.6653 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.4557, allocations: 258.1 kB / 0.6655 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4559, allocations: 16.19 kB / 0.6655 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/0.4564, allocations: 56.25 kB / 0.6656 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.4565, allocations: 72.75 kB / 0.6657 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.4566, allocations: 28.7 kB / 0.6657 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005554/0.4571, allocations: 0.4941 MB / 0.6662 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4571, allocations: 0 / 0.6662 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009853/0.4581, allocations: 336.1 kB / 0.6665 GB, free: 5.379 MB / 0.4981 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.00304/0.4612, allocations: 2.263 MB / 0.6687 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.4629, allocations: 0.7951 MB / 0.6695 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4629, allocations: 5.531 kB / 0.6695 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008726/0.4638, allocations: 465 kB / 0.6699 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.4655, allocations: 372.2 kB / 0.6703 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008736/0.4743, allocations: 6.883 MB / 0.677 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.475, allocations: 1.023 MB / 0.678 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006252/0.4756, allocations: 165.6 kB / 0.6781 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.4761, allocations: 349.5 kB / 0.6785 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.4761, allocations: 0 / 0.6785 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0583/0.5344, allocations: 26.69 MB / 0.7046 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.805, allocations: 11.8 kB / 0.7046 GB, free: 0.6992 MB / 0.5137 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)