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.001589/0.001588, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001754/0.001754, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.537/2.537, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9998/0.9998, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005623/0.0005625, allocations: 17.91 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.8626, allocations: 81.57 MB / 0.583 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.05167/0.9144, allocations: 25.68 MB / 0.608 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02516/0.9396, allocations: 8.942 MB / 0.6168 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0041/0.9438, allocations: 34.94 kB / 0.6168 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004421/0.9483, allocations: 0.5477 MB / 0.6173 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009787/0.9581, allocations: 1.342 MB / 0.6187 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007271/0.9654, allocations: 1.347 MB / 0.62 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007544/0.973, allocations: 1.709 MB / 0.6216 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002684/0.9757, allocations: 0.7343 MB / 0.6224 GB, free: 6.531 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.9794, allocations: 0.8099 MB / 0.6231 GB, free: 6.031 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.9814, allocations: 0.5239 MB / 0.6237 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.9816, allocations: 38.31 kB / 0.6237 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.985, allocations: 0.5488 MB / 0.6242 GB, free: 5.508 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006097/0.9856, allocations: 267.5 kB / 0.6245 GB, free: 5.332 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007504/0.9864, allocations: 254.2 kB / 0.6247 GB, free: 5.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003692/0.9901, allocations: 1.402 MB / 0.6261 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.9901, allocations: 0 / 0.6261 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.9902, allocations: 0 / 0.6261 GB, free: 4.219 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.043e-05/0.9902, allocations: 0.9688 kB / 0.6261 GB, free: 4.219 MB / 462.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.004442/0.9947, allocations: 1.354 MB / 0.6274 GB, free: 2.844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.9947, allocations: 8.031 kB / 0.6274 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000248/0.995, allocations: 106.5 kB / 0.6275 GB, free: 2.723 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.9965, allocations: 218.4 kB / 0.6277 GB, free: 2.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.9993, allocations: 0.9877 MB / 0.6287 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.804e-05/0.9995, allocations: 61.44 kB / 0.6288 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.9996, allocations: 75.91 kB / 0.6288 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/1.002, allocations: 0.7324 MB / 0.6295 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.002, allocations: 0 / 0.6295 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.002, allocations: 28 kB / 0.6296 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/1.002, allocations: 21.31 kB / 0.6296 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/1.004, allocations: 0.5789 MB / 0.6302 GB, free: 15.95 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.007316/1.011, allocations: 3.214 MB / 0.6333 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/1.013, allocations: 467.6 kB / 0.6337 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003522/1.017, allocations: 1.634 MB / 0.6353 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/1.018, allocations: 262.8 kB / 0.6356 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006051/1.018, allocations: 55.52 kB / 0.6356 GB, free: 9.941 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 4.468e-06/1.018, allocations: 0 / 0.6356 GB, free: 9.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.002293/1.021, allocations: 0.6187 MB / 0.6362 GB, free: 9.316 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/1.021, allocations: 67.11 kB / 0.6363 GB, free: 9.238 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/1.023, allocations: 0.9413 MB / 0.6372 GB, free: 8.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.675e-05/1.023, allocations: 37.7 kB / 0.6373 GB, free: 8.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/1.024, allocations: 0.5035 MB / 0.6378 GB, free: 7.727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/1.024, allocations: 134.1 kB / 0.6379 GB, free: 7.594 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/1.024, allocations: 12 kB / 0.6379 GB, free: 7.582 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/1.024, allocations: 322 kB / 0.6382 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/1.025, allocations: 201.2 kB / 0.6384 GB, free: 7.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009375/1.026, allocations: 421.3 kB / 0.6388 GB, free: 6.562 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/1.027, allocations: 249.7 kB / 0.639 GB, free: 6.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/1.027, allocations: 0 / 0.639 GB, free: 6.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002284/1.029, allocations: 0.72 MB / 0.6397 GB, free: 5.594 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001415/1.03, allocations: 2.351 MB / 0.642 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/1.03, allocations: 8 kB / 0.642 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/1.03, allocations: 8 kB / 0.642 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/1.031, allocations: 159.7 kB / 0.6422 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/1.031, allocations: 11.98 kB / 0.6422 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.033, allocations: 64.61 kB / 0.6423 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.033, allocations: 39.91 kB / 0.6423 GB, free: 2.773 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.033, allocations: 4 kB / 0.6423 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001451/1.034, allocations: 0.5385 MB / 0.6428 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.034, allocations: 8 kB / 0.6428 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.034, allocations: 11.95 kB / 0.6429 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/1.035, allocations: 143.7 kB / 0.643 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/1.035, allocations: 16 kB / 0.643 GB, free: 2.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.036, allocations: 60.64 kB / 0.6431 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/1.036, allocations: 32 kB / 0.6431 GB, free: 1.965 MB / 478.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.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009405/1.037, allocations: 372.8 kB / 0.6435 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/1.038, allocations: 94.78 kB / 0.6435 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/1.04, allocations: 0.6548 MB / 0.6442 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/1.04, allocations: 7.984 kB / 0.6442 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.04, allocations: 4 kB / 0.6442 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/1.042, allocations: 0.6937 MB / 0.6449 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/1.046, allocations: 1.547 MB / 0.6464 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.046, allocations: 7.984 kB / 0.6464 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/1.047, allocations: 92 kB / 0.6465 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/1.047, allocations: 4 kB / 0.6465 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.91e-05/1.047, allocations: 19.98 kB / 0.6465 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/1.047, allocations: 0 / 0.6465 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.047, allocations: 4 kB / 0.6465 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/1.049, allocations: 0.9768 MB / 0.6475 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009032/1.05, allocations: 243.7 kB / 0.6477 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/1.051, allocations: 11.95 kB / 0.6477 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/1.052, allocations: 59.94 kB / 0.6478 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.052, allocations: 31.95 kB / 0.6478 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/1.052, allocations: 15.98 kB / 0.6478 GB, free: 12.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001591/1.053, allocations: 0.6585 MB / 0.6485 GB, free: 12.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/1.053, allocations: 0 / 0.6485 GB, free: 12.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002879/1.056, allocations: 0.538 MB / 0.649 GB, free: 11.69 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 (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004498/1.061, allocations: 2.051 MB / 0.651 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002646/1.063, allocations: 0.7935 MB / 0.6518 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.063, allocations: 0 / 0.6518 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000795/1.064, allocations: 252 kB / 0.652 GB, free: 8.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/1.068, allocations: 497.5 kB / 0.6525 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008762/1.076, allocations: 6.786 MB / 0.6591 GB, free: 1.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.078, allocations: 1.099 MB / 0.6602 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001804/1.079, allocations: 251.2 kB / 0.6604 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009307/1.08, allocations: 411.2 kB / 0.6608 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.464e-06/1.08, allocations: 0 / 0.6608 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08392/1.164, allocations: 28.67 MB / 0.6888 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/1.165, allocations: 193.1 kB / 0.689 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.209/5.374, allocations: 0 / 0.689 GB, free: 2.879 MB / 0.5137 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/linux/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) Environment - environmentSimulation: