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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108 kB / 15.6 MB, free: 132 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.001213/0.001213, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9408/0.9408, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 70.06 kB / 0.5053 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1742, allocations: 80.92 MB / 0.5844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.3379/0.5121, allocations: 30.66 MB / 0.6143 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.524, allocations: 10.26 MB / 0.6243 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.5257, allocations: 48.62 kB / 0.6244 GB, free: 31.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.5281, allocations: 0.6966 MB / 0.6251 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.5325, allocations: 1.486 MB / 0.6265 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.5357, allocations: 1.32 MB / 0.6278 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003411/0.5391, allocations: 2.98 MB / 0.6307 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.5402, allocations: 0.9701 MB / 0.6316 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.5425, allocations: 1.154 MB / 0.6328 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008383/0.5434, allocations: 0.8176 MB / 0.6336 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.5435, allocations: 104.6 kB / 0.6337 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.545, allocations: 0.8021 MB / 0.6345 GB, free: 26.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.5453, allocations: 353.9 kB / 0.6348 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.5458, allocations: 0.6085 MB / 0.6354 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.5477, allocations: 1.945 MB / 0.6373 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5477, allocations: 0 / 0.6373 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5477, allocations: 0 / 0.6373 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.5478, allocations: 4 kB / 0.6373 GB, free: 25.35 MB / 0.4981 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.002099/0.5499, allocations: 1.54 MB / 0.6388 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5499, allocations: 12.91 kB / 0.6388 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009274/0.5508, allocations: 205 kB / 0.639 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.5523, allocations: 1.013 MB / 0.64 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.5524, allocations: 61.61 kB / 0.6401 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.5525, allocations: 70.53 kB / 0.6401 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.5535, allocations: 0.7275 MB / 0.6408 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.5536, allocations: 3.062 kB / 0.6408 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.5536, allocations: 26 kB / 0.6409 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.5537, allocations: 23.09 kB / 0.6409 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.5546, allocations: 0.536 MB / 0.6414 GB, free: 23.02 MB / 0.4981 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.003216/0.5579, allocations: 3.182 MB / 0.6445 GB, free: 20.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009645/0.5588, allocations: 439 kB / 0.6449 GB, free: 20.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.5592, allocations: 195.7 kB / 0.6451 GB, free: 20.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.5606, allocations: 1.532 MB / 0.6466 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004537/0.5611, allocations: 259.1 kB / 0.6469 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=37): time 2.605e-06/0.5611, allocations: 0 / 0.6469 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37): time 0.001194/0.5623, allocations: 0.5738 MB / 0.6474 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.5623, allocations: 60.84 kB / 0.6475 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008963/0.5632, allocations: 0.9441 MB / 0.6484 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.5633, allocations: 36.47 kB / 0.6484 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.5636, allocations: 0.4995 MB / 0.6489 GB, free: 18.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/0.5637, allocations: 123.9 kB / 0.649 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.5638, allocations: 134.5 kB / 0.6492 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.5639, allocations: 328.2 kB / 0.6495 GB, free: 17.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.5643, allocations: 208.2 kB / 0.6497 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.5649, allocations: 413.8 kB / 0.6501 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008893/0.5658, allocations: 0.5969 MB / 0.6507 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5658, allocations: 1.438 kB / 0.6507 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001274/0.5671, allocations: 0.7178 MB / 0.6514 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5671, allocations: 7.719 kB / 0.6514 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5671, allocations: 5.375 kB / 0.6514 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.5671, allocations: 9.688 kB / 0.6514 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.5677, allocations: 144 kB / 0.6515 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.5677, allocations: 17.08 kB / 0.6515 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.5683, allocations: 79.7 kB / 0.6516 GB, free: 16.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.5684, allocations: 31.58 kB / 0.6516 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006045/0.569, allocations: 411.9 kB / 0.652 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004454/0.5694, allocations: 392 kB / 0.6524 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007497/0.5702, allocations: 0.5546 MB / 0.6529 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/0.5702, allocations: 2.188 kB / 0.653 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001169/0.5714, allocations: 0.6571 MB / 0.6536 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5714, allocations: 11.56 kB / 0.6536 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5714, allocations: 10 kB / 0.6536 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.5714, allocations: 10.25 kB / 0.6536 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.5719, allocations: 136.1 kB / 0.6538 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.572, allocations: 23.2 kB / 0.6538 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.5725, allocations: 57.86 kB / 0.6538 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.5726, allocations: 30.75 kB / 0.6539 GB, free: 15.09 MB / 0.4981 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.0001605/0.5727, allocations: 220.1 kB / 0.6541 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.5729, allocations: 104.2 kB / 0.6542 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.5742, allocations: 0.6091 MB / 0.6548 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.5742, allocations: 9.375 kB / 0.6548 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5742, allocations: 5.25 kB / 0.6548 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009018/0.5752, allocations: 0.6691 MB / 0.6554 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.5774, allocations: 1.441 MB / 0.6568 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5774, allocations: 1.125 kB / 0.6568 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.5778, allocations: 82.91 kB / 0.6569 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.5778, allocations: 3.781 kB / 0.6569 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.5778, allocations: 14 kB / 0.6569 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.5779, allocations: 2.406 kB / 0.6569 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5779, allocations: 5.062 kB / 0.6569 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.5793, allocations: 0.8825 MB / 0.6578 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.5796, allocations: 236.4 kB / 0.658 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.5797, allocations: 8.766 kB / 0.658 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.5802, allocations: 23.25 kB / 0.6581 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.5803, allocations: 42.72 kB / 0.6581 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.5803, allocations: 21.27 kB / 0.6581 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008552/0.5812, allocations: 0.6449 MB / 0.6588 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5812, allocations: 0 / 0.6588 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001478/0.5827, allocations: 0.5252 MB / 0.6593 GB, free: 12.24 MB / 0.4981 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.0007607/0.5834, allocations: 367.2 kB / 0.6596 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.5852, allocations: 0.8102 MB / 0.6604 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5852, allocations: 1 kB / 0.6604 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.5857, allocations: 233.7 kB / 0.6606 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.5879, allocations: 0.5023 MB / 0.6611 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.5906, allocations: 1.762 MB / 0.6628 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.5912, allocations: 1.079 MB / 0.6639 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00101/0.5922, allocations: 254.3 kB / 0.6641 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.5924, allocations: 88.06 kB / 0.6642 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.5924, allocations: 0 / 0.6642 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of Templates: time 0.03796/0.6303, allocations: 20.33 MB / 0.6841 GB, free: 3.77 MB / 0.4981 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)