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.006165/0.006165, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.001152/0.001152, allocations: 191.8 kB / 16.67 MB, free: 5.918 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7517/0.7517, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.3 kB / 0.5809 GB, free: 1.293 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1699, allocations: 80.2 MB / 0.6592 GB, free: 14.14 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02988/0.1999, allocations: 30.68 MB / 0.6891 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.2136, allocations: 10.26 MB / 0.6992 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.2154, allocations: 43.75 kB / 0.6992 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.2174, allocations: 0.7029 MB / 0.6999 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004055/0.2215, allocations: 1.526 MB / 0.7014 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.2246, allocations: 1.334 MB / 0.7027 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004152/0.2288, allocations: 2.981 MB / 0.7056 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.2304, allocations: 0.9726 MB / 0.7065 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.2335, allocations: 1.192 MB / 0.7077 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.2347, allocations: 0.805 MB / 0.7085 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.2349, allocations: 108 kB / 0.7086 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.2366, allocations: 0.8035 MB / 0.7094 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.237, allocations: 354.9 kB / 0.7097 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006048/0.2376, allocations: 0.6142 MB / 0.7103 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.2404, allocations: 1.977 MB / 0.7122 GB, free: 7.617 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2404, allocations: 0 / 0.7122 GB, free: 7.617 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2404, allocations: 0 / 0.7122 GB, free: 7.617 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.2404, allocations: 3.938 kB / 0.7122 GB, free: 7.613 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.002809/0.2432, allocations: 1.575 MB / 0.7138 GB, free: 5.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.2433, allocations: 12.02 kB / 0.7138 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.2434, allocations: 106.7 kB / 0.7139 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009817/0.2444, allocations: 220 kB / 0.7141 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.2463, allocations: 1.066 MB / 0.7152 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.2464, allocations: 49.31 kB / 0.7152 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.2465, allocations: 71.95 kB / 0.7153 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.2477, allocations: 0.7332 MB / 0.716 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.2478, allocations: 0 / 0.716 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.2478, allocations: 28 kB / 0.716 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.2479, allocations: 21.31 kB / 0.716 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.249, allocations: 0.5399 MB / 0.7166 GB, free: 3.07 MB / 0.545 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.004008/0.253, allocations: 3.168 MB / 0.7197 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.2541, allocations: 451.2 kB / 0.7201 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.2545, allocations: 200.8 kB / 0.7203 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.2564, allocations: 1.54 MB / 0.7218 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005203/0.2569, allocations: 248.1 kB / 0.722 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.2569, allocations: 0 / 0.722 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001304/0.2582, allocations: 0.5791 MB / 0.7226 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.2583, allocations: 59.41 kB / 0.7226 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.2593, allocations: 0.9374 MB / 0.7236 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.2594, allocations: 37.7 kB / 0.7236 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.2598, allocations: 0.5083 MB / 0.7241 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.2599, allocations: 134.8 kB / 0.7242 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.2601, allocations: 130.2 kB / 0.7243 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2602, allocations: 330 kB / 0.7247 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.2606, allocations: 207.1 kB / 0.7248 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.2612, allocations: 415.8 kB / 0.7252 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009219/0.2621, allocations: 0.6009 MB / 0.7258 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2621, allocations: 4 kB / 0.7258 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001247/0.2634, allocations: 0.7084 MB / 0.7265 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2634, allocations: 7.984 kB / 0.7265 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2634, allocations: 8 kB / 0.7265 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.2635, allocations: 8.594 kB / 0.7266 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/0.264, allocations: 155.7 kB / 0.7267 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.2641, allocations: 8 kB / 0.7267 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.2646, allocations: 76.14 kB / 0.7268 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.2647, allocations: 35.98 kB / 0.7268 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006026/0.2653, allocations: 417.1 kB / 0.7272 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004691/0.2658, allocations: 391.8 kB / 0.7276 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00075/0.2666, allocations: 0.5575 MB / 0.7281 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.774e-06/0.2666, allocations: 4 kB / 0.7281 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001025/0.2676, allocations: 0.6681 MB / 0.7288 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.2676, allocations: 4 kB / 0.7288 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2676, allocations: 8 kB / 0.7288 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.2676, allocations: 8.688 kB / 0.7288 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.2681, allocations: 143.8 kB / 0.7289 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2681, allocations: 11.94 kB / 0.729 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.2686, allocations: 52.36 kB / 0.729 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.2687, allocations: 35.98 kB / 0.729 GB, free: 5.48 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.0001898/0.2689, allocations: 216.1 kB / 0.7292 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.269, allocations: 107.2 kB / 0.7293 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.2703, allocations: 0.6125 MB / 0.7299 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.2703, allocations: 11.98 kB / 0.73 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2703, allocations: 0 / 0.73 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008747/0.2712, allocations: 0.6664 MB / 0.7306 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.2733, allocations: 1.448 MB / 0.732 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2733, allocations: 4 kB / 0.732 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.2737, allocations: 75.89 kB / 0.7321 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2737, allocations: 4 kB / 0.7321 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.2737, allocations: 19.98 kB / 0.7321 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2737, allocations: 3.938 kB / 0.7321 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2737, allocations: 4 kB / 0.7321 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.2751, allocations: 0.884 MB / 0.733 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.2755, allocations: 228.4 kB / 0.7332 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.2756, allocations: 15.98 kB / 0.7332 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.276, allocations: 23.97 kB / 0.7332 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.2761, allocations: 40.11 kB / 0.7333 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.2761, allocations: 19.98 kB / 0.7333 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007531/0.2769, allocations: 0.6507 MB / 0.7339 GB, free: 252 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2769, allocations: 0 / 0.7339 GB, free: 252 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001362/0.2783, allocations: 0.534 MB / 0.7345 GB, free: 15.71 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.002493/0.2808, allocations: 1.684 MB / 0.7361 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.2823, allocations: 0.7736 MB / 0.7369 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2823, allocations: 0 / 0.7369 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.2828, allocations: 241 kB / 0.7371 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.285, allocations: 0.5145 MB / 0.7376 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.2957, allocations: 7.07 MB / 0.7445 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/0.2965, allocations: 1.08 MB / 0.7456 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009315/0.2975, allocations: 250.3 kB / 0.7458 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/0.298, allocations: 407.3 kB / 0.7462 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.298, allocations: 0 / 0.7462 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0584/0.3565, allocations: 28.26 MB / 0.7738 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.474/9.831, allocations: 10.38 kB / 0.7738 GB, free: 7.488 MB / 0.6075 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)