Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample",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.001284/0.001284, allocations: 108 kB / 15.61 MB, free: 152 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.001339/0.001339, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7453/0.7453, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 60.34 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3773, allocations: 80.19 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.033/0.4103, allocations: 30.67 MB / 0.6101 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.4251, allocations: 10.27 MB / 0.6202 GB, free: 5.578 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.4268, allocations: 45.53 kB / 0.6202 GB, free: 5.562 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.4289, allocations: 0.6931 MB / 0.6209 GB, free: 5.012 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003999/0.433, allocations: 1.485 MB / 0.6223 GB, free: 3.836 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.436, allocations: 1.328 MB / 0.6236 GB, free: 2.875 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.4396, allocations: 2.963 MB / 0.6265 GB, free: 1.164 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.4411, allocations: 0.9824 MB / 0.6275 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.4437, allocations: 1.16 MB / 0.6286 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.4449, allocations: 0.8051 MB / 0.6294 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.4451, allocations: 104 kB / 0.6295 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.4467, allocations: 0.8074 MB / 0.6303 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.447, allocations: 346.9 kB / 0.6306 GB, free: 13.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005642/0.4476, allocations: 0.6141 MB / 0.6312 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.4498, allocations: 1.944 MB / 0.6331 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4498, allocations: 3.938 kB / 0.6331 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4498, allocations: 0 / 0.6331 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4498, allocations: 3.938 kB / 0.6331 GB, free: 11.16 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002226/0.452, allocations: 1.53 MB / 0.6346 GB, free: 9.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4521, allocations: 12.03 kB / 0.6346 GB, free: 9.559 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.4522, allocations: 106.7 kB / 0.6347 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009647/0.4532, allocations: 215.3 kB / 0.6349 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.4548, allocations: 1.015 MB / 0.6359 GB, free: 8.176 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.4548, allocations: 53.31 kB / 0.636 GB, free: 8.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.4549, allocations: 72 kB / 0.6361 GB, free: 8.055 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.4561, allocations: 0.7293 MB / 0.6368 GB, free: 7.297 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4561, allocations: 0 / 0.6368 GB, free: 7.297 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/0.4562, allocations: 28 kB / 0.6368 GB, free: 7.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.4562, allocations: 21.31 kB / 0.6368 GB, free: 7.246 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.4574, allocations: 0.5321 MB / 0.6373 GB, free: 6.715 MB / 478.1 MB 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.00375/0.4611, allocations: 3.183 MB / 0.6404 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.4622, allocations: 447.9 kB / 0.6409 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/0.4626, allocations: 196.8 kB / 0.6411 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001707/0.4643, allocations: 1.548 MB / 0.6426 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.4649, allocations: 243.1 kB / 0.6428 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.4649, allocations: 4 kB / 0.6428 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.001307/0.4662, allocations: 0.5803 MB / 0.6434 GB, free: 152 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.4662, allocations: 59.41 kB / 0.6434 GB, free: 80 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4673, allocations: 0.9335 MB / 0.6443 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.4673, allocations: 37.7 kB / 0.6444 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.4677, allocations: 0.5035 MB / 0.6449 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.4678, allocations: 126.2 kB / 0.645 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.468, allocations: 126.1 kB / 0.6451 GB, free: 14.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4681, allocations: 330 kB / 0.6454 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.4686, allocations: 215.1 kB / 0.6456 GB, free: 13.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.4692, allocations: 415.8 kB / 0.646 GB, free: 13.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009722/0.4701, allocations: 0.6008 MB / 0.6466 GB, free: 12.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4702, allocations: 0 / 0.6466 GB, free: 12.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001279/0.4714, allocations: 0.7158 MB / 0.6473 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4715, allocations: 8 kB / 0.6473 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4715, allocations: 11.98 kB / 0.6473 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4715, allocations: 8 kB / 0.6473 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.4721, allocations: 144.2 kB / 0.6475 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.4721, allocations: 15.94 kB / 0.6475 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.4727, allocations: 83.84 kB / 0.6476 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.4727, allocations: 31.98 kB / 0.6476 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005897/0.4733, allocations: 417.1 kB / 0.648 GB, free: 11.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004785/0.4738, allocations: 391.8 kB / 0.6484 GB, free: 10.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007849/0.4746, allocations: 0.546 MB / 0.6489 GB, free: 10.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.4746, allocations: 4 kB / 0.6489 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001073/0.4757, allocations: 0.6601 MB / 0.6496 GB, free: 9.398 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4757, allocations: 10.5 kB / 0.6496 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4757, allocations: 8 kB / 0.6496 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.4757, allocations: 8 kB / 0.6496 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.4763, allocations: 140.2 kB / 0.6497 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.4763, allocations: 15.94 kB / 0.6497 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.4768, allocations: 52.23 kB / 0.6498 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.4768, allocations: 35.98 kB / 0.6498 GB, free: 9.137 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * 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.0001589/0.477, allocations: 223.6 kB / 0.65 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4771, allocations: 94.78 kB / 0.6501 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.4784, allocations: 0.6163 MB / 0.6507 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.4784, allocations: 7.984 kB / 0.6507 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4784, allocations: 0 / 0.6507 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009394/0.4794, allocations: 0.6741 MB / 0.6514 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.4814, allocations: 1.448 MB / 0.6528 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4814, allocations: 4 kB / 0.6528 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.4819, allocations: 79.89 kB / 0.6529 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.4819, allocations: 4 kB / 0.6529 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.4819, allocations: 11.98 kB / 0.6529 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4819, allocations: 4 kB / 0.6529 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4819, allocations: 0 / 0.6529 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.4834, allocations: 0.8872 MB / 0.6538 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.4837, allocations: 231.7 kB / 0.654 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.4838, allocations: 12 kB / 0.654 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.4842, allocations: 23.97 kB / 0.654 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.4843, allocations: 31.84 kB / 0.654 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.4844, allocations: 23.98 kB / 0.6541 GB, free: 4.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007429/0.4851, allocations: 0.6583 MB / 0.6547 GB, free: 3.906 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4851, allocations: 0 / 0.6547 GB, free: 3.906 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001333/0.4865, allocations: 0.5223 MB / 0.6552 GB, free: 3.383 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.002363/0.4888, allocations: 1.665 MB / 0.6569 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.4905, allocations: 0.8161 MB / 0.6576 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4905, allocations: 0 / 0.6576 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.4909, allocations: 233.4 kB / 0.6579 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.4929, allocations: 0.5073 MB / 0.6584 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009292/0.5022, allocations: 7.377 MB / 0.6656 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.5028, allocations: 1.087 MB / 0.6666 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008976/0.5037, allocations: 248.2 kB / 0.6669 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/0.5042, allocations: 403.3 kB / 0.6673 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.5042, allocations: 3.938 kB / 0.6673 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05212/0.5564, allocations: 28.09 MB / 0.6947 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.428, allocations: 11.94 kB / 0.6947 GB, free: 10.9 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)