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.0009549/0.0009549, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001179/0.001179, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7341/0.7341, allocations: 132.4 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004503, allocations: 12.84 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3768, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.0283/0.4051, allocations: 28.13 MB / 0.6105 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.4176, allocations: 9.59 MB / 0.6199 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.4188, allocations: 37.16 kB / 0.6199 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.4202, allocations: 476.3 kB / 0.6204 GB, free: 7.324 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.4232, allocations: 1.224 MB / 0.6216 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.4257, allocations: 0.9919 MB / 0.6226 GB, free: 5.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003874/0.4296, allocations: 3.334 MB / 0.6258 GB, free: 3.758 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.4308, allocations: 0.7283 MB / 0.6265 GB, free: 3.305 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.4327, allocations: 0.9508 MB / 0.6275 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.434, allocations: 0.7737 MB / 0.6282 GB, free: 2.266 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.4341, allocations: 40 kB / 0.6282 GB, free: 2.227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.4355, allocations: 0.5345 MB / 0.6288 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.4358, allocations: 274.9 kB / 0.629 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.4361, allocations: 249.1 kB / 0.6293 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.4375, allocations: 1.43 MB / 0.6307 GB, free: 15.74 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.4375, allocations: 0 / 0.6307 GB, free: 15.74 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4375, allocations: 0 / 0.6307 GB, free: 15.74 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.4376, allocations: 4 kB / 0.6307 GB, free: 15.73 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.002227/0.4398, allocations: 1.343 MB / 0.632 GB, free: 14.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.4398, allocations: 12.03 kB / 0.632 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009152/0.4408, allocations: 206.4 kB / 0.6322 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.4425, allocations: 1.007 MB / 0.6332 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.4426, allocations: 53.5 kB / 0.6332 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4427, allocations: 68 kB / 0.6333 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.444, allocations: 0.7441 MB / 0.634 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.4441, allocations: 7.922 kB / 0.634 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.4441, allocations: 31.98 kB / 0.6341 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.4442, allocations: 25.31 kB / 0.6341 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.4454, allocations: 0.5868 MB / 0.6346 GB, free: 11.53 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.003873/0.4493, allocations: 3.221 MB / 0.6378 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.4505, allocations: 0.4917 MB / 0.6383 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.4509, allocations: 214.1 kB / 0.6385 GB, free: 7.406 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/0.4527, allocations: 1.581 MB / 0.64 GB, free: 5.652 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.4533, allocations: 274.9 kB / 0.6403 GB, free: 5.371 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000212/0.4535, allocations: 59.5 kB / 0.6403 GB, free: 5.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 1.643e-06/0.4535, allocations: 0 / 0.6403 GB, free: 5.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.001486/0.455, allocations: 0.642 MB / 0.641 GB, free: 4.664 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.4551, allocations: 59.16 kB / 0.641 GB, free: 4.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.4562, allocations: 0.9296 MB / 0.6419 GB, free: 3.645 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.4562, allocations: 37.7 kB / 0.642 GB, free: 3.602 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.4566, allocations: 0.4997 MB / 0.6425 GB, free: 3.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.4568, allocations: 130.1 kB / 0.6426 GB, free: 2.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.4568, allocations: 12 kB / 0.6426 GB, free: 2.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.4569, allocations: 330 kB / 0.6429 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.4574, allocations: 205.2 kB / 0.6431 GB, free: 2.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.458, allocations: 429.3 kB / 0.6435 GB, free: 1.918 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.4586, allocations: 261.7 kB / 0.6438 GB, free: 1.664 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.4586, allocations: 4 kB / 0.6438 GB, free: 1.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0014/0.46, allocations: 0.72 MB / 0.6445 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.4602, allocations: 263.7 kB / 0.6447 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4602, allocations: 8 kB / 0.6447 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4602, allocations: 8 kB / 0.6447 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.4608, allocations: 155.7 kB / 0.6449 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.4609, allocations: 23.98 kB / 0.6449 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.4615, allocations: 75.12 kB / 0.645 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.4616, allocations: 31.98 kB / 0.645 GB, free: 304 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.4616, allocations: 7.938 kB / 0.645 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009699/0.4626, allocations: 0.5463 MB / 0.6455 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.4626, allocations: 8.094 kB / 0.6456 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.4626, allocations: 16 kB / 0.6456 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.4631, allocations: 139.7 kB / 0.6457 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.4631, allocations: 8 kB / 0.6457 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.4637, allocations: 64.55 kB / 0.6458 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.4637, allocations: 28 kB / 0.6458 GB, free: 15.48 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.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 (71): * Single equations (assignments): 70 * 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.0003783/0.4641, allocations: 384.4 kB / 0.6462 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4642, allocations: 94.78 kB / 0.6463 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.4656, allocations: 0.6511 MB / 0.6469 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.4657, allocations: 7.984 kB / 0.6469 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4657, allocations: 0 / 0.6469 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.4667, allocations: 0.7054 MB / 0.6476 GB, free: 13.56 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.00229/0.469, allocations: 1.577 MB / 0.6491 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.469, allocations: 0 / 0.6491 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.4695, allocations: 87.88 kB / 0.6492 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.4695, allocations: 4 kB / 0.6492 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.4695, allocations: 24.06 kB / 0.6492 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.4695, allocations: 4 kB / 0.6492 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4695, allocations: 0 / 0.6492 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.4712, allocations: 0.9482 MB / 0.6502 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.4715, allocations: 239.8 kB / 0.6504 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.4716, allocations: 8 kB / 0.6504 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.4722, allocations: 59.81 kB / 0.6505 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.4722, allocations: 35.95 kB / 0.6505 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.4723, allocations: 15.98 kB / 0.6505 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007835/0.4731, allocations: 0.6389 MB / 0.6511 GB, free: 9.789 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4731, allocations: 0 / 0.6511 GB, free: 9.789 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001286/0.4744, allocations: 0.5302 MB / 0.6517 GB, free: 9.258 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 (45): * Single equations (assignments): 40 * 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.000691/0.4751, allocations: 351.7 kB / 0.652 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.4766, allocations: 0.8111 MB / 0.6528 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4767, allocations: 1.562 kB / 0.6528 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005168/0.4772, allocations: 256 kB / 0.653 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.4791, allocations: 497.1 kB / 0.6535 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.4819, allocations: 2.172 MB / 0.6556 GB, free: 5.168 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.4825, allocations: 1.08 MB / 0.6567 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008735/0.4834, allocations: 248.2 kB / 0.6569 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.4836, allocations: 83.41 kB / 0.657 GB, free: 3.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4836, allocations: 0 / 0.657 GB, free: 3.73 MB / 494.1 MB Notification: Performance of Templates: time 0.02909/0.5127, allocations: 19.37 MB / 0.6759 GB, free: 0.668 MB / 0.4981 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)