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.004415/0.004415, allocations: 96.83 kB / 15.73 MB, free: 6.055 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.001259/0.001259, allocations: 197.2 kB / 16.68 MB, free: 5.977 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9367/0.9367, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 75.88 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3559, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.04144/0.3974, allocations: 43.58 MB / 0.7074 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.4099, allocations: 8.444 MB / 0.7157 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.4114, allocations: 43.69 kB / 0.7157 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.4129, allocations: 0.5274 MB / 0.7162 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.4169, allocations: 1.504 MB / 0.7177 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.4198, allocations: 1.187 MB / 0.7189 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.423, allocations: 2.643 MB / 0.7214 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.4243, allocations: 0.9172 MB / 0.7223 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.4268, allocations: 1.276 MB / 0.7236 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.4281, allocations: 0.7232 MB / 0.7243 GB, free: 3.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.4282, allocations: 84 kB / 0.7244 GB, free: 3.816 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.4302, allocations: 0.8735 MB / 0.7252 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.4305, allocations: 251 kB / 0.7255 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006233/0.4312, allocations: 0.5364 MB / 0.726 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.4337, allocations: 1.714 MB / 0.7277 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4337, allocations: 0 / 0.7277 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4337, allocations: 0 / 0.7277 GB, free: 448 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.4337, allocations: 0 / 0.7277 GB, free: 448 kB / 0.545 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.002036/0.4358, allocations: 1.407 MB / 0.729 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4358, allocations: 8.031 kB / 0.729 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.436, allocations: 114.7 kB / 0.7291 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.4362, allocations: 124.2 kB / 0.7293 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.4375, allocations: 0.8395 MB / 0.7301 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.4376, allocations: 57.25 kB / 0.7301 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/0.4377, allocations: 68 kB / 0.7302 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.439, allocations: 0.794 MB / 0.731 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.439, allocations: 3.938 kB / 0.731 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.4391, allocations: 28 kB / 0.731 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.4391, allocations: 16 kB / 0.731 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.4401, allocations: 0.5086 MB / 0.7315 GB, free: 12.3 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.003795/0.4439, allocations: 3.835 MB / 0.7353 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/0.4446, allocations: 327.8 kB / 0.7356 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.445, allocations: 213.4 kB / 0.7358 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.446, allocations: 1.303 MB / 0.7371 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005219/0.4465, allocations: 263.3 kB / 0.7373 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 4.188e-06/0.4466, allocations: 3.984 kB / 0.7373 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41): time 0.001428/0.448, allocations: 0.6563 MB / 0.7379 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.4481, allocations: 106.8 kB / 0.7381 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.4492, allocations: 0.8138 MB / 0.7388 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.4492, allocations: 37.7 kB / 0.7389 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.4496, allocations: 480.5 kB / 0.7393 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4498, allocations: 138.8 kB / 0.7395 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.45, allocations: 130.2 kB / 0.7396 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4501, allocations: 330 kB / 0.7399 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.4505, allocations: 173 kB / 0.7401 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.4511, allocations: 389.5 kB / 0.7404 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008763/0.4519, allocations: 0.5463 MB / 0.741 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.452, allocations: 0 / 0.741 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001228/0.4532, allocations: 0.6483 MB / 0.7416 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4532, allocations: 8 kB / 0.7416 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4532, allocations: 4 kB / 0.7416 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.4533, allocations: 16.62 kB / 0.7416 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.4537, allocations: 123.8 kB / 0.7418 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.4537, allocations: 23.91 kB / 0.7418 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.4542, allocations: 79.48 kB / 0.7419 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/0.4543, allocations: 35.98 kB / 0.7419 GB, free: 0.8672 MB / 0.5606 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.0003384/0.4547, allocations: 258.3 kB / 0.7421 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4548, allocations: 95.39 kB / 0.7422 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.4568, allocations: 1.085 MB / 0.7433 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.4568, allocations: 15.98 kB / 0.7433 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.4568, allocations: 0 / 0.7433 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4568, allocations: 7.984 kB / 0.7433 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.4596, allocations: 1.957 MB / 0.7452 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4596, allocations: 4 kB / 0.7452 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.4599, allocations: 83.89 kB / 0.7453 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.4599, allocations: 4 kB / 0.7453 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.46, allocations: 23.98 kB / 0.7453 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.46, allocations: 12.31 kB / 0.7453 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.46, allocations: 15.92 kB / 0.7454 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.4615, allocations: 0.9765 MB / 0.7463 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.4619, allocations: 276.1 kB / 0.7466 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.462, allocations: 20 kB / 0.7466 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.4624, allocations: 35.97 kB / 0.7466 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4625, allocations: 60.38 kB / 0.7467 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.4626, allocations: 31.97 kB / 0.7467 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007823/0.4634, allocations: 0.5581 MB / 0.7473 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4634, allocations: 0 / 0.7473 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001013/0.4644, allocations: 351.1 kB / 0.7476 GB, free: 10.84 MB / 0.5762 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.003849/0.4682, allocations: 2.211 MB / 0.7498 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.4694, allocations: 0.5849 MB / 0.7503 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4694, allocations: 4 kB / 0.7503 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006292/0.47, allocations: 383.3 kB / 0.7507 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.4718, allocations: 402.3 kB / 0.7511 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009554/0.4814, allocations: 6.743 MB / 0.7577 GB, free: 312 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.4821, allocations: 1.05 MB / 0.7587 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005827/0.4827, allocations: 191 kB / 0.7589 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/0.4832, allocations: 383.3 kB / 0.7592 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.4832, allocations: 0 / 0.7592 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06297/0.5462, allocations: 28.81 MB / 0.7874 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.848/10.39, allocations: 4.062 kB / 0.7874 GB, free: 2.133 MB / 0.6075 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)