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: translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01086/0.01086, allocations: 169.5 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 0.8186/0.8186, allocations: 135.2 MB / 151.1 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 1.616/1.616, allocations: 223.2 MB / 406.9 MB, free: 3.227 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.001171/0.001171, allocations: 97.95 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004012, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5455, allocations: 82.29 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8662/1.412, allocations: 360.5 MB / 1.002 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/1.412, allocations: 93.14 kB / 1.002 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.07/2.482, allocations: 299 MB / 1.294 GB, free: 27.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/2.482, allocations: 0 / 1.294 GB, free: 27.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002239/2.482, allocations: 32.12 kB / 1.294 GB, free: 27.14 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.005097/2.487, allocations: 1.582 MB / 1.295 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/2.488, allocations: 8.031 kB / 1.295 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/2.489, allocations: 194.4 kB / 1.295 GB, free: 25.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/2.504, allocations: 6.546 MB / 1.302 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.7e-05/2.504, allocations: 57.25 kB / 1.302 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/2.504, allocations: 79.83 kB / 1.302 GB, free: 18.53 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/2.506, allocations: 0.7216 MB / 1.303 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/2.506, allocations: 3.938 kB / 1.303 GB, free: 17.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.282e-05/2.506, allocations: 28 kB / 1.303 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/2.506, allocations: 25.31 kB / 1.303 GB, free: 17.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/2.507, allocations: 0.5282 MB / 1.303 GB, free: 17.2 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 0.005117/2.512, allocations: 2.924 MB / 1.306 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/2.513, allocations: 494.8 kB / 1.307 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/2.516, allocations: 1.564 MB / 1.308 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005192/2.516, allocations: 260.3 kB / 1.308 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004876/2.517, allocations: 55.52 kB / 1.308 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 3.416e-06/2.517, allocations: 0 / 1.308 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.00141/2.518, allocations: 0.6206 MB / 1.309 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/2.518, allocations: 59.41 kB / 1.309 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/2.52, allocations: 0.8266 MB / 1.31 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/2.52, allocations: 33.7 kB / 1.31 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/2.52, allocations: 0.492 MB / 1.31 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/2.52, allocations: 145.9 kB / 1.31 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/2.52, allocations: 15.94 kB / 1.311 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/2.52, allocations: 333.9 kB / 1.311 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003877/2.521, allocations: 185.2 kB / 1.311 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/2.521, allocations: 428.8 kB / 1.311 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/2.522, allocations: 255 kB / 1.312 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/2.522, allocations: 4 kB / 1.312 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001269/2.523, allocations: 0.6904 MB / 1.312 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005488/2.524, allocations: 2.356 MB / 1.315 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/2.524, allocations: 8 kB / 1.315 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/2.524, allocations: 8 kB / 1.315 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/2.524, allocations: 155.7 kB / 1.315 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.674e-05/2.524, allocations: 12 kB / 1.315 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/2.525, allocations: 51.95 kB / 1.315 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/2.525, allocations: 47.92 kB / 1.315 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/2.525, allocations: 5.25 kB / 1.315 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009223/2.526, allocations: 0.5488 MB / 1.315 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/2.526, allocations: 4 kB / 1.315 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/2.526, allocations: 12 kB / 1.315 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/2.527, allocations: 152.3 kB / 1.316 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/2.527, allocations: 15.95 kB / 1.316 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007404/2.528, allocations: 59.8 kB / 1.316 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/2.528, allocations: 39.97 kB / 1.316 GB, free: 3.699 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.0006615/2.528, allocations: 372.8 kB / 1.316 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/2.528, allocations: 102.7 kB / 1.316 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/2.53, allocations: 0.6426 MB / 1.317 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/2.53, allocations: 7.984 kB / 1.317 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/2.53, allocations: 3.953 kB / 1.317 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008279/2.531, allocations: 0.7001 MB / 1.317 GB, free: 1.793 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.002788/2.534, allocations: 1.537 MB / 1.319 GB, free: 180 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/2.534, allocations: 7.984 kB / 1.319 GB, free: 172 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/2.534, allocations: 79.89 kB / 1.319 GB, free: 92 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/2.534, allocations: 11.92 kB / 1.319 GB, free: 80 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/2.534, allocations: 20.12 kB / 1.319 GB, free: 60 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/2.534, allocations: 0 / 1.319 GB, free: 60 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/2.534, allocations: 7.984 kB / 1.319 GB, free: 52 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.466/3, allocations: 0.965 MB / 1.32 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006436/3.001, allocations: 228.4 kB / 1.32 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/3.001, allocations: 12.19 kB / 1.32 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/3.002, allocations: 50.77 kB / 1.32 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/3.002, allocations: 39.47 kB / 1.32 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/3.002, allocations: 24.81 kB / 1.32 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001328/3.003, allocations: 0.643 MB / 1.321 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/3.003, allocations: 1.125 kB / 1.321 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002699/3.006, allocations: 0.5834 MB / 1.322 GB, free: 138.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.001858/3.008, allocations: 0.7588 MB / 1.322 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002096/3.01, allocations: 0.8017 MB / 1.323 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/3.01, allocations: 0.8125 kB / 1.323 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/3.01, allocations: 248.6 kB / 1.323 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/3.013, allocations: 485.4 kB / 1.324 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/3.018, allocations: 2.172 MB / 1.326 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/3.019, allocations: 1.101 MB / 1.327 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001645/3.02, allocations: 254.5 kB / 1.327 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/3.021, allocations: 89.7 kB / 1.327 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.587e-06/3.021, allocations: 3.656 kB / 1.327 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.04543/3.066, allocations: 23.05 MB / 1.35 GB, free: 136.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)