Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",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.001583/0.001583, allocations: 108 kB / 15.61 MB, free: 128 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.001282/0.001282, allocations: 197.4 kB / 16.53 MB, free: 6.672 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9662/0.9662, allocations: 135.6 MB / 426 MB, free: 11.93 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003238/0.003238, allocations: 64.77 kB / 0.506 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1676, allocations: 81.02 MB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.2599/0.4275, allocations: 43.58 MB / 0.6276 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008654/0.4362, allocations: 8.443 MB / 0.6359 GB, free: 23.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008497/0.437, allocations: 42.28 kB / 0.6359 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.4381, allocations: 0.5277 MB / 0.6364 GB, free: 22.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.4406, allocations: 1.502 MB / 0.6379 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.4427, allocations: 1.174 MB / 0.6391 GB, free: 21.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.4444, allocations: 2.631 MB / 0.6416 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000853/0.4453, allocations: 0.9166 MB / 0.6425 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.447, allocations: 1.27 MB / 0.6438 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007114/0.4478, allocations: 0.7252 MB / 0.6445 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.4479, allocations: 92.16 kB / 0.6446 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.4494, allocations: 0.8759 MB / 0.6454 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.4496, allocations: 245 kB / 0.6456 GB, free: 17.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.45, allocations: 0.5361 MB / 0.6462 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.4516, allocations: 1.677 MB / 0.6478 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4516, allocations: 4 kB / 0.6478 GB, free: 17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4517, allocations: 0 / 0.6478 GB, free: 17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.4517, allocations: 3.938 kB / 0.6478 GB, free: 17 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001516/0.4532, allocations: 1.362 MB / 0.6491 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4532, allocations: 13.44 kB / 0.6492 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.4534, allocations: 112.4 kB / 0.6493 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.4535, allocations: 119.3 kB / 0.6494 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008886/0.4544, allocations: 0.7784 MB / 0.6501 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.4545, allocations: 54.19 kB / 0.6502 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/0.4546, allocations: 67.14 kB / 0.6502 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.4556, allocations: 0.7899 MB / 0.651 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.4556, allocations: 2.594 kB / 0.651 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.4557, allocations: 28.62 kB / 0.6511 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.4557, allocations: 16.84 kB / 0.6511 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008387/0.4566, allocations: 0.5161 MB / 0.6516 GB, free: 14.71 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.002836/0.4594, allocations: 3.834 MB / 0.6553 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.4601, allocations: 336.8 kB / 0.6556 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.4604, allocations: 213.4 kB / 0.6558 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006251/0.4611, allocations: 1.312 MB / 0.6571 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004665/0.4615, allocations: 262.7 kB / 0.6574 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.816e-06/0.4615, allocations: 4 kB / 0.6574 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.001346/0.4629, allocations: 0.6469 MB / 0.658 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.4629, allocations: 116 kB / 0.6581 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.4639, allocations: 0.8108 MB / 0.6589 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.4639, allocations: 38.55 kB / 0.6589 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.4642, allocations: 474.8 kB / 0.6594 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.4643, allocations: 134.2 kB / 0.6595 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.4644, allocations: 132.1 kB / 0.6597 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.4645, allocations: 325.9 kB / 0.66 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.4648, allocations: 171.1 kB / 0.6601 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.4653, allocations: 390.2 kB / 0.6605 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.4661, allocations: 0.5464 MB / 0.661 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4661, allocations: 6.156 kB / 0.661 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001164/0.4673, allocations: 0.6401 MB / 0.6617 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4673, allocations: 9.984 kB / 0.6617 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4674, allocations: 4.75 kB / 0.6617 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.4674, allocations: 12.94 kB / 0.6617 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.4678, allocations: 122.7 kB / 0.6618 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.4679, allocations: 13.33 kB / 0.6618 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.4684, allocations: 81.88 kB / 0.6619 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.4685, allocations: 38.7 kB / 0.6619 GB, free: 7.105 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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.0002791/0.4687, allocations: 265.3 kB / 0.6622 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4689, allocations: 96.73 kB / 0.6623 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.4707, allocations: 1.084 MB / 0.6633 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.4708, allocations: 11.19 kB / 0.6633 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4708, allocations: 5.094 kB / 0.6634 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.4708, allocations: 6.953 kB / 0.6634 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.4733, allocations: 1.951 MB / 0.6653 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.4733, allocations: 3.922 kB / 0.6653 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.4736, allocations: 87.91 kB / 0.6654 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.4736, allocations: 10.39 kB / 0.6654 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.4736, allocations: 21.09 kB / 0.6654 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.4737, allocations: 7.047 kB / 0.6654 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4737, allocations: 11.19 kB / 0.6654 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.4749, allocations: 0.979 MB / 0.6664 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.4752, allocations: 265.7 kB / 0.6666 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.4753, allocations: 25.34 kB / 0.6666 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.4757, allocations: 32.59 kB / 0.6667 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4759, allocations: 55.75 kB / 0.6667 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.4759, allocations: 30.66 kB / 0.6667 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006613/0.4766, allocations: 0.564 MB / 0.6673 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4766, allocations: 0 / 0.6673 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009586/0.4776, allocations: 350.6 kB / 0.6676 GB, free: 4.285 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 49 * 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.00344/0.481, allocations: 2.193 MB / 0.6698 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.4823, allocations: 0.6365 MB / 0.6704 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4823, allocations: 1.031 kB / 0.6704 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.4829, allocations: 387 kB / 0.6708 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.4847, allocations: 400 kB / 0.6711 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008742/0.4935, allocations: 7.069 MB / 0.678 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.4942, allocations: 1.046 MB / 0.6791 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005913/0.4948, allocations: 191.6 kB / 0.6793 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.4953, allocations: 376.2 kB / 0.6796 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.4953, allocations: 0 / 0.6796 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/0.5574, allocations: 28.52 MB / 0.7075 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/9.033, allocations: 0 / 0.7075 GB, free: 13.97 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1)