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.0009616/0.0009616, allocations: 98.56 kB / 16.02 MB, free: 76 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.001067/0.001067, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.3 MB / 427.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003522, allocations: 9.219 kB / 0.5082 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.172, allocations: 82.31 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.3502/0.5223, allocations: 29.72 MB / 0.6176 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.5367, allocations: 10.18 MB / 0.6276 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.5391, allocations: 42.72 kB / 0.6276 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002452/0.5415, allocations: 0.6082 MB / 0.6282 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.5462, allocations: 1.379 MB / 0.6296 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.5496, allocations: 1.199 MB / 0.6307 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004985/0.5546, allocations: 3.912 MB / 0.6345 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.5559, allocations: 0.8054 MB / 0.6353 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.558, allocations: 0.9803 MB / 0.6363 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.559, allocations: 0.7882 MB / 0.6371 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.5591, allocations: 38.97 kB / 0.6371 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.561, allocations: 0.7378 MB / 0.6378 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.5613, allocations: 281.7 kB / 0.6381 GB, free: 27.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006213/0.5619, allocations: 0.5666 MB / 0.6386 GB, free: 26.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.5637, allocations: 1.444 MB / 0.64 GB, free: 26.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5637, allocations: 0 / 0.64 GB, free: 26.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.737e-06/0.5637, allocations: 0 / 0.64 GB, free: 26.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.5637, allocations: 7.938 kB / 0.6401 GB, free: 26.32 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.002306/0.566, allocations: 1.328 MB / 0.6414 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5661, allocations: 9.875 kB / 0.6414 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009264/0.567, allocations: 221.6 kB / 0.6416 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.5687, allocations: 1.054 MB / 0.6426 GB, free: 24.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.5688, allocations: 51.56 kB / 0.6427 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.5689, allocations: 71.41 kB / 0.6427 GB, free: 24.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.5701, allocations: 0.7312 MB / 0.6434 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.5701, allocations: 0 / 0.6434 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.5702, allocations: 25.62 kB / 0.6435 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.5702, allocations: 28.41 kB / 0.6435 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.5712, allocations: 0.5506 MB / 0.644 GB, free: 24.11 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.003607/0.5748, allocations: 3.157 MB / 0.6471 GB, free: 21.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.5759, allocations: 476 kB / 0.6476 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.5762, allocations: 202.5 kB / 0.6478 GB, free: 21.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.5779, allocations: 1.546 MB / 0.6493 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004834/0.5784, allocations: 257.7 kB / 0.6495 GB, free: 20.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002239/0.5786, allocations: 52.62 kB / 0.6496 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.934e-06/0.5786, allocations: 0 / 0.6496 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001224/0.5798, allocations: 0.5934 MB / 0.6501 GB, free: 19.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.5799, allocations: 58.03 kB / 0.6502 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.581, allocations: 0.9337 MB / 0.6511 GB, free: 19.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.581, allocations: 32.2 kB / 0.6511 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.5814, allocations: 0.5002 MB / 0.6516 GB, free: 19.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5815, allocations: 129.9 kB / 0.6517 GB, free: 19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.5816, allocations: 59.25 kB / 0.6518 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.5817, allocations: 325.7 kB / 0.6521 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.5821, allocations: 206.3 kB / 0.6523 GB, free: 18.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.5827, allocations: 417.9 kB / 0.6527 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5837, allocations: 0.608 MB / 0.6533 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5837, allocations: 6.031 kB / 0.6533 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001388/0.5851, allocations: 0.7169 MB / 0.654 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.5853, allocations: 268.7 kB / 0.6543 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5853, allocations: 9.328 kB / 0.6543 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.5853, allocations: 13.09 kB / 0.6543 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.5859, allocations: 144.8 kB / 0.6544 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.5859, allocations: 13 kB / 0.6544 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.5866, allocations: 57.78 kB / 0.6545 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.5867, allocations: 32 kB / 0.6545 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.5867, allocations: 8.031 kB / 0.6545 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/0.5878, allocations: 0.5506 MB / 0.6551 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.5878, allocations: 7.156 kB / 0.6551 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5878, allocations: 16.97 kB / 0.6551 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.5883, allocations: 142.3 kB / 0.6552 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.5884, allocations: 10.72 kB / 0.6552 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.5889, allocations: 53.06 kB / 0.6553 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/0.589, allocations: 30.16 kB / 0.6553 GB, free: 16.91 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 (71): * Single equations (assignments): 70 * 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.0005544/0.5895, allocations: 376.2 kB / 0.6557 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.5897, allocations: 96.16 kB / 0.6558 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.5911, allocations: 0.6278 MB / 0.6564 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.5911, allocations: 9.156 kB / 0.6564 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5911, allocations: 0.6562 kB / 0.6564 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009486/0.5921, allocations: 0.6733 MB / 0.657 GB, free: 15.83 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 postOpt removeSimpleEquations (simulation): time 0.00256/0.5946, allocations: 1.511 MB / 0.6585 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5947, allocations: 0 / 0.6585 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.5951, allocations: 85.59 kB / 0.6586 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.5951, allocations: 2.594 kB / 0.6586 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.5951, allocations: 21.36 kB / 0.6586 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.5952, allocations: 3.141 kB / 0.6586 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5952, allocations: 1.281 kB / 0.6586 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.5967, allocations: 0.8923 MB / 0.6595 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.597, allocations: 235 kB / 0.6597 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.5972, allocations: 13.34 kB / 0.6597 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/0.5976, allocations: 42.69 kB / 0.6598 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5978, allocations: 35.17 kB / 0.6598 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.5978, allocations: 24.2 kB / 0.6598 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009457/0.5988, allocations: 0.6329 MB / 0.6605 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5988, allocations: 0 / 0.6605 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001847/0.6006, allocations: 0.5218 MB / 0.661 GB, free: 13.92 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 (45): * Single equations (assignments): 40 * 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.0009219/0.6015, allocations: 378.8 kB / 0.6613 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001785/0.6033, allocations: 0.7905 MB / 0.6621 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6034, allocations: 0.9375 kB / 0.6621 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.6039, allocations: 238.7 kB / 0.6623 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.6063, allocations: 472.8 kB / 0.6628 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.6096, allocations: 2.227 MB / 0.665 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.6103, allocations: 1.081 MB / 0.666 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.6106, allocations: 93.02 kB / 0.6661 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.6106, allocations: 0 / 0.6661 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.0356/0.6462, allocations: 17.85 MB / 0.6835 GB, free: 5.828 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)