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.008396/0.008396, allocations: 101 kB / 15.73 MB, free: 6.059 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.001705/0.001706, allocations: 191.7 kB / 16.67 MB, free: 5.969 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8394/0.8394, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 62.78 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1776, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03538/0.2131, allocations: 30.67 MB / 0.6891 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.2298, allocations: 10.26 MB / 0.6992 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.2326, allocations: 47.75 kB / 0.6992 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.2362, allocations: 0.7029 MB / 0.6999 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.241, allocations: 1.485 MB / 0.7013 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.2447, allocations: 1.339 MB / 0.7026 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005396/0.2501, allocations: 2.978 MB / 0.7055 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.2521, allocations: 0.9609 MB / 0.7065 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.2553, allocations: 1.172 MB / 0.7076 GB, free: 9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.2571, allocations: 0.8011 MB / 0.7084 GB, free: 8.195 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.2573, allocations: 104 kB / 0.7085 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.2594, allocations: 0.8113 MB / 0.7093 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004149/0.2599, allocations: 350.9 kB / 0.7096 GB, free: 6.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007553/0.2606, allocations: 0.6141 MB / 0.7102 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.2637, allocations: 1.977 MB / 0.7122 GB, free: 4.336 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2637, allocations: 3.938 kB / 0.7122 GB, free: 4.332 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2637, allocations: 0 / 0.7122 GB, free: 4.332 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.733e-05/0.2638, allocations: 0 / 0.7122 GB, free: 4.332 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002798/0.2666, allocations: 1.583 MB / 0.7137 GB, free: 2.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2666, allocations: 8.031 kB / 0.7137 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.2668, allocations: 110.7 kB / 0.7138 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009817/0.2677, allocations: 216 kB / 0.714 GB, free: 2.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.2697, allocations: 1.062 MB / 0.7151 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.2698, allocations: 53.31 kB / 0.7151 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2699, allocations: 71.95 kB / 0.7152 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.2712, allocations: 0.7332 MB / 0.7159 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.2713, allocations: 0 / 0.7159 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.2713, allocations: 28 kB / 0.7159 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.2714, allocations: 21.31 kB / 0.716 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2725, allocations: 0.5399 MB / 0.7165 GB, free: 15.78 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.004391/0.2769, allocations: 3.176 MB / 0.7196 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.2782, allocations: 443.3 kB / 0.72 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.2786, allocations: 196.8 kB / 0.7202 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/0.2807, allocations: 1.536 MB / 0.7217 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005471/0.2813, allocations: 252.1 kB / 0.7219 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.424e-06/0.2813, allocations: 0 / 0.7219 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001452/0.2828, allocations: 0.5869 MB / 0.7225 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/0.2828, allocations: 55.41 kB / 0.7226 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.2841, allocations: 0.9374 MB / 0.7235 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.2842, allocations: 37.7 kB / 0.7235 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/0.2847, allocations: 0.5005 MB / 0.724 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.2848, allocations: 134.8 kB / 0.7241 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.285, allocations: 126.2 kB / 0.7243 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2852, allocations: 338 kB / 0.7246 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.2857, allocations: 203.1 kB / 0.7248 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.2864, allocations: 416.2 kB / 0.7252 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2875, allocations: 0.6012 MB / 0.7258 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.2875, allocations: 0 / 0.7258 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001535/0.2891, allocations: 0.7112 MB / 0.7264 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2891, allocations: 8 kB / 0.7265 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.2891, allocations: 8 kB / 0.7265 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.2892, allocations: 8.594 kB / 0.7265 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.2898, allocations: 147.7 kB / 0.7266 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/0.2898, allocations: 15.98 kB / 0.7266 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.2905, allocations: 80.09 kB / 0.7267 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/0.2906, allocations: 31.98 kB / 0.7267 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008251/0.2914, allocations: 413.2 kB / 0.7271 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006546/0.2921, allocations: 399.7 kB / 0.7275 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009736/0.2931, allocations: 0.5614 MB / 0.7281 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.2931, allocations: 4 kB / 0.7281 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001351/0.2944, allocations: 0.6604 MB / 0.7287 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2945, allocations: 10.03 kB / 0.7287 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2945, allocations: 8 kB / 0.7287 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2945, allocations: 12.64 kB / 0.7287 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.295, allocations: 143.8 kB / 0.7289 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.2951, allocations: 11.94 kB / 0.7289 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.2957, allocations: 60.34 kB / 0.7289 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.2958, allocations: 28 kB / 0.729 GB, free: 2.188 MB / 0.5606 GB 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.0003135/0.2961, allocations: 220.1 kB / 0.7292 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.2962, allocations: 107.2 kB / 0.7293 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.2978, allocations: 0.6115 MB / 0.7299 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.2978, allocations: 4 kB / 0.7299 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.2978, allocations: 7.984 kB / 0.7299 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/0.2988, allocations: 0.6625 MB / 0.7305 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.3014, allocations: 1.455 MB / 0.732 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3014, allocations: 0 / 0.732 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.3019, allocations: 83.88 kB / 0.732 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.3019, allocations: 4 kB / 0.732 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.3019, allocations: 11.98 kB / 0.7321 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3019, allocations: 7.938 kB / 0.7321 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3019, allocations: 4 kB / 0.7321 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.3036, allocations: 0.884 MB / 0.7329 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.3039, allocations: 228.3 kB / 0.7331 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.3041, allocations: 12 kB / 0.7332 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.3045, allocations: 19.98 kB / 0.7332 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3046, allocations: 36.16 kB / 0.7332 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.3046, allocations: 23.98 kB / 0.7332 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009379/0.3056, allocations: 0.6506 MB / 0.7339 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3056, allocations: 0 / 0.7339 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001588/0.3072, allocations: 0.5339 MB / 0.7344 GB, free: 12.42 MB / 0.5762 GB 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.002791/0.31, allocations: 1.686 MB / 0.736 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.3117, allocations: 0.7776 MB / 0.7368 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3117, allocations: 0 / 0.7368 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.3122, allocations: 240.9 kB / 0.737 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.3144, allocations: 0.5055 MB / 0.7375 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.3254, allocations: 7.078 MB / 0.7444 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000757/0.3262, allocations: 1.076 MB / 0.7455 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009799/0.3272, allocations: 252.7 kB / 0.7457 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.3278, allocations: 399.3 kB / 0.7461 GB, free: 76 kB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.3278, allocations: 4 kB / 0.7461 GB, free: 72 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4008/0.7286, allocations: 28.26 MB / 0.7737 GB, free: 73.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.44/10.17, allocations: 7.875 kB / 0.7737 GB, free: 73.3 MB / 0.5762 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)