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.00573/0.00573, allocations: 102.5 kB / 15.73 MB, free: 6.047 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.001185/0.001185, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.89 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4563, allocations: 80.2 MB / 0.6592 GB, free: 9.828 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.02951/0.4859, allocations: 30.68 MB / 0.6891 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.5008, allocations: 10.27 MB / 0.6992 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002364/0.5032, allocations: 44.62 kB / 0.6992 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.5054, allocations: 0.698 MB / 0.6999 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004305/0.5097, allocations: 1.482 MB / 0.7013 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.5131, allocations: 1.333 MB / 0.7026 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004533/0.5176, allocations: 2.982 MB / 0.7055 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.5191, allocations: 0.9635 MB / 0.7065 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.5219, allocations: 1.196 MB / 0.7077 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.5232, allocations: 0.8029 MB / 0.7084 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.5234, allocations: 103.6 kB / 0.7085 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.5254, allocations: 0.8141 MB / 0.7093 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.5257, allocations: 350.9 kB / 0.7097 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007095/0.5265, allocations: 0.6103 MB / 0.7103 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003/0.5295, allocations: 1.975 MB / 0.7122 GB, free: 15.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5295, allocations: 0 / 0.7122 GB, free: 15.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5295, allocations: 0 / 0.7122 GB, free: 15.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.5295, allocations: 0 / 0.7122 GB, free: 15.73 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.00252/0.532, allocations: 1.542 MB / 0.7137 GB, free: 14.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5321, allocations: 8.031 kB / 0.7137 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.5322, allocations: 110.7 kB / 0.7138 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009681/0.5332, allocations: 207.3 kB / 0.714 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.5351, allocations: 1.057 MB / 0.715 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.5352, allocations: 57.25 kB / 0.7151 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.5353, allocations: 68 kB / 0.7152 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.5365, allocations: 0.7254 MB / 0.7159 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5366, allocations: 3.984 kB / 0.7159 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.5366, allocations: 28 kB / 0.7159 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.5367, allocations: 29.3 kB / 0.7159 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.5377, allocations: 0.5399 MB / 0.7165 GB, free: 11.23 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.003965/0.5417, allocations: 3.159 MB / 0.7195 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.5428, allocations: 441.5 kB / 0.72 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.5432, allocations: 196.8 kB / 0.7202 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.5451, allocations: 1.532 MB / 0.7216 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.5456, allocations: 256.1 kB / 0.7219 GB, free: 5.285 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/0.5456, allocations: 0 / 0.7219 GB, free: 5.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001298/0.5469, allocations: 0.5785 MB / 0.7225 GB, free: 4.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.547, allocations: 55.41 kB / 0.7225 GB, free: 4.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.5481, allocations: 0.9412 MB / 0.7234 GB, free: 3.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.5481, allocations: 33.7 kB / 0.7235 GB, free: 3.633 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.5485, allocations: 0.4958 MB / 0.7239 GB, free: 3.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5487, allocations: 130.1 kB / 0.7241 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.5488, allocations: 134.1 kB / 0.7242 GB, free: 2.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.549, allocations: 333.9 kB / 0.7245 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.5494, allocations: 207.1 kB / 0.7247 GB, free: 2.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.5499, allocations: 415.8 kB / 0.7251 GB, free: 1.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/0.5509, allocations: 0.5931 MB / 0.7257 GB, free: 1.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.5509, allocations: 4 kB / 0.7257 GB, free: 1.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001321/0.5522, allocations: 0.7078 MB / 0.7264 GB, free: 448 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5523, allocations: 8 kB / 0.7264 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.5523, allocations: 8 kB / 0.7264 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.5523, allocations: 8.562 kB / 0.7264 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.5529, allocations: 155.7 kB / 0.7266 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.5529, allocations: 8 kB / 0.7266 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.5535, allocations: 76 kB / 0.7266 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.5535, allocations: 28 kB / 0.7267 GB, free: 156 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000656/0.5542, allocations: 417.2 kB / 0.7271 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000457/0.5547, allocations: 391.8 kB / 0.7274 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000781/0.5555, allocations: 0.5614 MB / 0.728 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.5555, allocations: 4 kB / 0.728 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001057/0.5565, allocations: 0.6598 MB / 0.7286 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5566, allocations: 8 kB / 0.7286 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5566, allocations: 8 kB / 0.7286 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.5566, allocations: 12.59 kB / 0.7287 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.5571, allocations: 139.8 kB / 0.7288 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.5571, allocations: 15.92 kB / 0.7288 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.5576, allocations: 52.33 kB / 0.7289 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.5576, allocations: 31.98 kB / 0.7289 GB, free: 13.69 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.0001893/0.5578, allocations: 216.1 kB / 0.7291 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.558, allocations: 102.6 kB / 0.7292 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.5593, allocations: 0.6163 MB / 0.7298 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.5593, allocations: 12 kB / 0.7298 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5593, allocations: 0 / 0.7298 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009444/0.5603, allocations: 0.6664 MB / 0.7305 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.5625, allocations: 1.448 MB / 0.7319 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.5625, allocations: 0 / 0.7319 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.5629, allocations: 87.81 kB / 0.732 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5629, allocations: 4 kB / 0.732 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.5629, allocations: 15.98 kB / 0.732 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.563, allocations: 3.938 kB / 0.732 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.563, allocations: 4 kB / 0.732 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5645, allocations: 0.8756 MB / 0.7328 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.5648, allocations: 235.6 kB / 0.7331 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/0.5649, allocations: 8 kB / 0.7331 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.5653, allocations: 23.98 kB / 0.7331 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.5654, allocations: 40.16 kB / 0.7331 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/0.5655, allocations: 15.98 kB / 0.7331 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008193/0.5663, allocations: 0.6507 MB / 0.7338 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5663, allocations: 0 / 0.7338 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001484/0.5678, allocations: 0.5185 MB / 0.7343 GB, free: 7.945 MB / 0.5606 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.002476/0.5703, allocations: 1.689 MB / 0.7359 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.5719, allocations: 0.7698 MB / 0.7367 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5719, allocations: 0 / 0.7367 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004433/0.5724, allocations: 240.9 kB / 0.7369 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.5744, allocations: 0.5062 MB / 0.7374 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009789/0.5842, allocations: 7.033 MB / 0.7443 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/0.5848, allocations: 1.076 MB / 0.7453 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009481/0.5858, allocations: 255.6 kB / 0.7456 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.5863, allocations: 403.3 kB / 0.746 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of SimCode: time 1.223e-06/0.5863, allocations: 0 / 0.746 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05861/0.6449, allocations: 28.7 MB / 0.774 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.349/9.994, allocations: 10.88 kB / 0.774 GB, free: 15.33 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)