Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01971/0.01971, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.303/1.303, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.761/2.761, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 99.95 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008624/0.0008622, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9472/0.9482, allocations: 82.31 MB / 0.6495 GB, free: 36.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.767/2.715, allocations: 360.5 MB / 1.002 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004401/2.716, allocations: 95.08 kB / 1.002 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.229/4.945, allocations: 299 MB / 1.294 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.999e-06/4.945, allocations: 0 / 1.294 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004645/4.945, allocations: 35.98 kB / 1.294 GB, free: 12.55 MB / 0.6823 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.009315/4.955, allocations: 1.575 MB / 1.295 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001074/4.955, allocations: 12.03 kB / 1.295 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007314/4.955, allocations: 106.5 kB / 1.295 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/4.958, allocations: 194.4 kB / 1.296 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02592/4.984, allocations: 6.569 MB / 1.302 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/4.984, allocations: 53.31 kB / 1.302 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/4.984, allocations: 75.91 kB / 1.302 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/4.987, allocations: 0.7176 MB / 1.303 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/4.987, allocations: 0 / 1.303 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/4.987, allocations: 31.98 kB / 1.303 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-05/4.987, allocations: 25.25 kB / 1.303 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/4.988, allocations: 0.5399 MB / 1.303 GB, free: 2.473 MB / 0.6823 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 1.085/6.073, allocations: 2.902 MB / 1.306 GB, free: 136 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/6.076, allocations: 494 kB / 1.307 GB, free: 136 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005038/6.082, allocations: 1.561 MB / 1.308 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/6.083, allocations: 271.7 kB / 1.308 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008693/6.084, allocations: 61.23 kB / 1.309 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 6.533e-06/6.084, allocations: 3.062 kB / 1.309 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.003055/6.087, allocations: 0.6149 MB / 1.309 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/6.087, allocations: 56.83 kB / 1.309 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/6.09, allocations: 0.8241 MB / 1.31 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/6.09, allocations: 39.5 kB / 1.31 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/6.091, allocations: 498.2 kB / 1.311 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/6.091, allocations: 143.5 kB / 1.311 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/6.091, allocations: 15.41 kB / 1.311 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000182/6.092, allocations: 329.4 kB / 1.311 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008121/6.092, allocations: 186.3 kB / 1.311 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/6.094, allocations: 426.5 kB / 1.312 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009975/6.095, allocations: 251.8 kB / 1.312 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/6.095, allocations: 4.531 kB / 1.312 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003136/6.098, allocations: 0.6974 MB / 1.313 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001731/6.1, allocations: 2.358 MB / 1.315 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.692e-05/6.1, allocations: 10.66 kB / 1.315 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.744e-05/6.1, allocations: 12.69 kB / 1.315 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/6.101, allocations: 152.2 kB / 1.315 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-05/6.101, allocations: 16.23 kB / 1.315 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/6.103, allocations: 61.23 kB / 1.315 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/6.103, allocations: 37.09 kB / 1.315 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/6.103, allocations: 4.562 kB / 1.315 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001947/6.105, allocations: 0.5588 MB / 1.316 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/6.105, allocations: 6.188 kB / 1.316 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/6.105, allocations: 10.25 kB / 1.316 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/6.106, allocations: 151.2 kB / 1.316 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-05/6.106, allocations: 13.95 kB / 1.316 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/6.107, allocations: 56.7 kB / 1.316 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/6.107, allocations: 36.12 kB / 1.316 GB, free: 131.3 MB / 0.6823 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.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 (74): * Single equations (assignments): 73 * 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.001559/6.109, allocations: 373.2 kB / 1.316 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/6.109, allocations: 97.03 kB / 1.316 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/6.112, allocations: 0.655 MB / 1.317 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/6.112, allocations: 4.688 kB / 1.317 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/6.112, allocations: 0 / 1.317 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001656/6.114, allocations: 0.6916 MB / 1.318 GB, free: 130.6 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.004956/6.119, allocations: 1.543 MB / 1.319 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/6.119, allocations: 0 / 1.319 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/6.119, allocations: 94.67 kB / 1.319 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/6.119, allocations: 0 / 1.319 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/6.119, allocations: 19.39 kB / 1.319 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/6.119, allocations: 7.812 kB / 1.319 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/6.119, allocations: 3.781 kB / 1.319 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/6.122, allocations: 0.9748 MB / 1.32 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007528/6.123, allocations: 232.7 kB / 1.32 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/6.123, allocations: 18.27 kB / 1.32 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007605/6.124, allocations: 51.25 kB / 1.321 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/6.124, allocations: 35.66 kB / 1.321 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/6.124, allocations: 21.02 kB / 1.321 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001802/6.126, allocations: 0.6447 MB / 1.321 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/6.126, allocations: 0 / 1.321 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004197/6.13, allocations: 0.5824 MB / 1.322 GB, free: 129.6 MB / 0.6823 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 (48): * Single equations (assignments): 43 * 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.006749/6.137, allocations: 2.444 MB / 1.324 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003165/6.14, allocations: 0.803 MB / 1.325 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/6.14, allocations: 0 / 1.325 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007786/6.141, allocations: 252.2 kB / 1.325 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/6.145, allocations: 488.3 kB / 1.326 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/6.157, allocations: 6.867 MB / 1.332 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/6.159, allocations: 1.104 MB / 1.333 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002305/6.161, allocations: 258.5 kB / 1.334 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009232/6.162, allocations: 399.9 kB / 1.334 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.765e-06/6.162, allocations: 0 / 1.334 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/6.284, allocations: 33.49 MB / 1.367 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/6.285, allocations: 199.3 kB / 1.367 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.912/12.2, allocations: 4.656 kB / 1.367 GB, free: 121.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)