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.001563/0.001562, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.724/0.724, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.38 kB / 0.5018 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3842, allocations: 80.2 MB / 0.5801 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02951/0.4138, allocations: 30.69 MB / 0.61 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.4272, allocations: 10.26 MB / 0.6201 GB, free: 5.562 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.4287, allocations: 44.72 kB / 0.6201 GB, free: 5.547 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.4304, allocations: 0.7004 MB / 0.6208 GB, free: 4.992 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.4338, allocations: 1.477 MB / 0.6222 GB, free: 3.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.4366, allocations: 1.329 MB / 0.6235 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003359/0.44, allocations: 2.97 MB / 0.6264 GB, free: 1.145 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.4412, allocations: 0.9746 MB / 0.6274 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.4436, allocations: 1.171 MB / 0.6285 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009636/0.4446, allocations: 0.805 MB / 0.6293 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.4448, allocations: 104 kB / 0.6294 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.4464, allocations: 0.7997 MB / 0.6302 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.4467, allocations: 350.9 kB / 0.6305 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.4473, allocations: 0.618 MB / 0.6311 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.4495, allocations: 1.944 MB / 0.633 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4495, allocations: 0 / 0.633 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4495, allocations: 0 / 0.633 GB, free: 11.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.4495, allocations: 0 / 0.633 GB, free: 11.14 MB / 478.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.002236/0.4518, allocations: 1.538 MB / 0.6345 GB, free: 9.547 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.4518, allocations: 8.031 kB / 0.6345 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009365/0.4528, allocations: 207.3 kB / 0.6347 GB, free: 9.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.4544, allocations: 1.023 MB / 0.6357 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.4544, allocations: 53.31 kB / 0.6358 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.4545, allocations: 68 kB / 0.6359 GB, free: 8.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4557, allocations: 0.7293 MB / 0.6366 GB, free: 7.395 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4557, allocations: 0 / 0.6366 GB, free: 7.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/0.4558, allocations: 24 kB / 0.6366 GB, free: 7.371 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.4558, allocations: 25.31 kB / 0.6366 GB, free: 7.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.4569, allocations: 0.5399 MB / 0.6371 GB, free: 6.805 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.00374/0.4606, allocations: 3.187 MB / 0.6403 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.4617, allocations: 448.5 kB / 0.6407 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.4621, allocations: 192.8 kB / 0.6409 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/0.4639, allocations: 1.544 MB / 0.6424 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.4644, allocations: 247 kB / 0.6426 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.4645, allocations: 0 / 0.6426 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.001287/0.4657, allocations: 0.5804 MB / 0.6432 GB, free: 248 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.4658, allocations: 59.39 kB / 0.6432 GB, free: 176 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4668, allocations: 0.9374 MB / 0.6441 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.4669, allocations: 37.7 kB / 0.6442 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.4673, allocations: 0.4957 MB / 0.6447 GB, free: 14.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.4674, allocations: 134.1 kB / 0.6448 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.4676, allocations: 126.1 kB / 0.6449 GB, free: 14.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4677, allocations: 334 kB / 0.6452 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.4681, allocations: 195.1 kB / 0.6454 GB, free: 13.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007615/0.4689, allocations: 431.7 kB / 0.6458 GB, free: 13.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.47, allocations: 0.6007 MB / 0.6464 GB, free: 12.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.47, allocations: 0 / 0.6464 GB, free: 12.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001429/0.4715, allocations: 0.7199 MB / 0.6471 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.4715, allocations: 8 kB / 0.6471 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.4715, allocations: 8 kB / 0.6471 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.4715, allocations: 8 kB / 0.6471 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.4721, allocations: 139.8 kB / 0.6473 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.4721, allocations: 15.92 kB / 0.6473 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005881/0.4727, allocations: 76.2 kB / 0.6474 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.4728, allocations: 31.98 kB / 0.6474 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006929/0.4735, allocations: 421.2 kB / 0.6478 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005125/0.474, allocations: 387.8 kB / 0.6482 GB, free: 10.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008427/0.4749, allocations: 0.5614 MB / 0.6487 GB, free: 10.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/0.4749, allocations: 0 / 0.6487 GB, free: 10.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001173/0.4761, allocations: 0.6604 MB / 0.6494 GB, free: 9.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4761, allocations: 8 kB / 0.6494 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4761, allocations: 4 kB / 0.6494 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.4761, allocations: 12 kB / 0.6494 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.4766, allocations: 135.8 kB / 0.6495 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.4766, allocations: 15.94 kB / 0.6495 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.4772, allocations: 56.22 kB / 0.6496 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.4773, allocations: 28.12 kB / 0.6496 GB, free: 9.234 MB / 494.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.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.0002636/0.4775, allocations: 220.1 kB / 0.6498 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.4777, allocations: 102.7 kB / 0.6499 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.4791, allocations: 0.62 MB / 0.6505 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.4791, allocations: 7.984 kB / 0.6505 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4791, allocations: 0 / 0.6505 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009536/0.4801, allocations: 0.6664 MB / 0.6512 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.4824, allocations: 1.444 MB / 0.6526 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.4825, allocations: 0 / 0.6526 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.4829, allocations: 84 kB / 0.6527 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4829, allocations: 4 kB / 0.6527 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.4829, allocations: 15.98 kB / 0.6527 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.483, allocations: 4 kB / 0.6527 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.483, allocations: 3.938 kB / 0.6527 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.4846, allocations: 0.8793 MB / 0.6536 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.485, allocations: 231.7 kB / 0.6538 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.4851, allocations: 15.98 kB / 0.6538 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.4856, allocations: 19.92 kB / 0.6538 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.4857, allocations: 43.77 kB / 0.6539 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.4857, allocations: 19.98 kB / 0.6539 GB, free: 4.664 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000866/0.4866, allocations: 0.6468 MB / 0.6545 GB, free: 4.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4866, allocations: 0 / 0.6545 GB, free: 4.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001619/0.4882, allocations: 0.5223 MB / 0.655 GB, free: 3.484 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 (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.001032/0.4893, allocations: 374.6 kB / 0.6554 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.4912, allocations: 0.804 MB / 0.6562 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4912, allocations: 0 / 0.6562 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000496/0.4917, allocations: 236.4 kB / 0.6564 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.4938, allocations: 0.494 MB / 0.6569 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.4971, allocations: 1.776 MB / 0.6586 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/0.4978, allocations: 1.083 MB / 0.6597 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001012/0.4989, allocations: 252 kB / 0.6599 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.4991, allocations: 79.41 kB / 0.66 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.4991, allocations: 0 / 0.66 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.03534/0.5344, allocations: 20.32 MB / 0.6798 GB, free: 10.36 MB / 0.5137 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)