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: translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004657/0.004657, allocations: 97.62 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.001071/0.001071, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.91 kB / 0.5813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3653, allocations: 80.19 MB / 0.6596 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02675/0.3921, allocations: 30.69 MB / 0.6896 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.4056, allocations: 10.26 MB / 0.6996 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.4075, allocations: 45.22 kB / 0.6997 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.41, allocations: 0.6966 MB / 0.7004 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.4143, allocations: 1.485 MB / 0.7018 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003032/0.4174, allocations: 1.341 MB / 0.7031 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003762/0.4211, allocations: 2.979 MB / 0.706 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.4226, allocations: 0.9631 MB / 0.707 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002307/0.4249, allocations: 1.169 MB / 0.7081 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009701/0.4259, allocations: 0.8029 MB / 0.7089 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.426, allocations: 103.2 kB / 0.709 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.4277, allocations: 0.8116 MB / 0.7098 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.428, allocations: 358.9 kB / 0.7101 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006052/0.4287, allocations: 0.6142 MB / 0.7107 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.4311, allocations: 1.983 MB / 0.7127 GB, free: 15.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4311, allocations: 0 / 0.7127 GB, free: 15.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4311, allocations: 0 / 0.7127 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.4311, allocations: 0 / 0.7127 GB, free: 15.86 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.002308/0.4335, allocations: 1.583 MB / 0.7142 GB, free: 14.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4335, allocations: 8.031 kB / 0.7142 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/0.4344, allocations: 212 kB / 0.7144 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.4362, allocations: 1.066 MB / 0.7155 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.4362, allocations: 49.31 kB / 0.7155 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.4363, allocations: 75.95 kB / 0.7156 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.4376, allocations: 0.7215 MB / 0.7163 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.4376, allocations: 4 kB / 0.7163 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.4377, allocations: 27.98 kB / 0.7163 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.4377, allocations: 33.3 kB / 0.7163 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.4388, allocations: 0.5282 MB / 0.7169 GB, free: 11.43 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.003871/0.4427, allocations: 3.168 MB / 0.72 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4438, allocations: 443.6 kB / 0.7204 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.4442, allocations: 192.8 kB / 0.7206 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/0.4463, allocations: 1.54 MB / 0.7221 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005576/0.4468, allocations: 252 kB / 0.7223 GB, free: 5.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/0.4468, allocations: 4 kB / 0.7223 GB, free: 5.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001325/0.4482, allocations: 0.5791 MB / 0.7229 GB, free: 4.887 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4482, allocations: 55.41 kB / 0.7229 GB, free: 4.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.4494, allocations: 0.9452 MB / 0.7239 GB, free: 3.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.4495, allocations: 33.7 kB / 0.7239 GB, free: 3.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/0.45, allocations: 0.5121 MB / 0.7244 GB, free: 3.301 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.4501, allocations: 134.9 kB / 0.7245 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.4503, allocations: 130.2 kB / 0.7246 GB, free: 3.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4504, allocations: 326 kB / 0.725 GB, free: 2.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.4508, allocations: 211.1 kB / 0.7252 GB, free: 2.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.4514, allocations: 419.7 kB / 0.7256 GB, free: 2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000968/0.4524, allocations: 0.597 MB / 0.7261 GB, free: 1.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4524, allocations: 7.938 kB / 0.7261 GB, free: 1.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001275/0.4537, allocations: 0.7126 MB / 0.7268 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4537, allocations: 8 kB / 0.7268 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4537, allocations: 4 kB / 0.7269 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4538, allocations: 8 kB / 0.7269 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.4543, allocations: 147.8 kB / 0.727 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.4543, allocations: 12.22 kB / 0.727 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.4549, allocations: 84.14 kB / 0.7271 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.455, allocations: 36.06 kB / 0.7271 GB, free: 308 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006401/0.4556, allocations: 413.2 kB / 0.7275 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004783/0.4561, allocations: 391.8 kB / 0.7279 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007773/0.4569, allocations: 0.5536 MB / 0.7284 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.335e-06/0.4569, allocations: 4 kB / 0.7284 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001047/0.4579, allocations: 0.6686 MB / 0.7291 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.458, allocations: 14.28 kB / 0.7291 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.458, allocations: 4 kB / 0.7291 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.458, allocations: 8 kB / 0.7291 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.4585, allocations: 135.8 kB / 0.7292 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.4585, allocations: 15.92 kB / 0.7293 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.459, allocations: 60.7 kB / 0.7293 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.459, allocations: 31.98 kB / 0.7293 GB, free: 13.84 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.0001674/0.4592, allocations: 217 kB / 0.7296 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.4593, allocations: 111.2 kB / 0.7297 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.4606, allocations: 0.6084 MB / 0.7303 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4606, allocations: 8 kB / 0.7303 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4606, allocations: 0 / 0.7303 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008963/0.4615, allocations: 0.6664 MB / 0.7309 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.4635, allocations: 1.444 MB / 0.7323 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4636, allocations: 4 kB / 0.7323 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.464, allocations: 88 kB / 0.7324 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.464, allocations: 3.984 kB / 0.7324 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.464, allocations: 15.98 kB / 0.7324 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.464, allocations: 4 kB / 0.7324 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.464, allocations: 7.875 kB / 0.7324 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.4655, allocations: 0.8799 MB / 0.7333 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.4658, allocations: 240.3 kB / 0.7335 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4659, allocations: 15.94 kB / 0.7335 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.4663, allocations: 19.98 kB / 0.7336 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.4664, allocations: 40.16 kB / 0.7336 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.4665, allocations: 15.98 kB / 0.7336 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007693/0.4673, allocations: 0.6467 MB / 0.7343 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4673, allocations: 0 / 0.7343 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00142/0.4687, allocations: 0.5301 MB / 0.7348 GB, free: 8.078 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.0007527/0.4694, allocations: 379.8 kB / 0.7351 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.471, allocations: 0.7806 MB / 0.7359 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.471, allocations: 0 / 0.7359 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.4714, allocations: 240.2 kB / 0.7361 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.4733, allocations: 0.508 MB / 0.7366 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.4761, allocations: 1.758 MB / 0.7383 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.4767, allocations: 1.076 MB / 0.7394 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007532/0.4775, allocations: 255.9 kB / 0.7396 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.4777, allocations: 83.41 kB / 0.7397 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.4777, allocations: 4 kB / 0.7397 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of Templates: time 0.03006/0.5077, allocations: 20.43 MB / 0.7597 GB, free: 14.84 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (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 & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)