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.001145/0.001145, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009104/0.009104, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.504/1.504, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9785/0.9785, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 8 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 82.31 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.3803/0.5424, allocations: 29.72 MB / 0.617 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.5553, allocations: 10.19 MB / 0.6269 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.5571, allocations: 38.62 kB / 0.627 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.5591, allocations: 0.6087 MB / 0.6276 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003895/0.563, allocations: 1.374 MB / 0.6289 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.5659, allocations: 1.188 MB / 0.6301 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004652/0.5706, allocations: 3.923 MB / 0.6339 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.5718, allocations: 0.8003 MB / 0.6347 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.5737, allocations: 0.976 MB / 0.6356 GB, free: 27.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008806/0.5746, allocations: 0.7933 MB / 0.6364 GB, free: 27.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.5747, allocations: 42.28 kB / 0.6365 GB, free: 27.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.5764, allocations: 0.7308 MB / 0.6372 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.5766, allocations: 290.3 kB / 0.6374 GB, free: 27.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005383/0.5772, allocations: 0.5587 MB / 0.638 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.5791, allocations: 1.87 MB / 0.6398 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5791, allocations: 3.344 kB / 0.6398 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5792, allocations: 3.938 kB / 0.6398 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.5792, allocations: 0 / 0.6398 GB, free: 26.11 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.002076/0.5813, allocations: 1.33 MB / 0.6411 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.5813, allocations: 8.938 kB / 0.6411 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/0.5823, allocations: 221.3 kB / 0.6413 GB, free: 25.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.584, allocations: 1.051 MB / 0.6424 GB, free: 24.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.584, allocations: 54.72 kB / 0.6424 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.5841, allocations: 70.19 kB / 0.6425 GB, free: 24.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.5853, allocations: 0.7352 MB / 0.6432 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.5854, allocations: 3 kB / 0.6432 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.5854, allocations: 25.62 kB / 0.6432 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.5854, allocations: 21.81 kB / 0.6433 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5865, allocations: 0.5548 MB / 0.6438 GB, free: 23.89 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.0034/0.5899, allocations: 3.154 MB / 0.6469 GB, free: 21.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.591, allocations: 476.3 kB / 0.6473 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.5913, allocations: 198.4 kB / 0.6475 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/0.5929, allocations: 1.547 MB / 0.649 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004666/0.5934, allocations: 255.3 kB / 0.6493 GB, free: 20.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000206/0.5936, allocations: 61.12 kB / 0.6493 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.365e-06/0.5936, allocations: 0 / 0.6493 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001201/0.5948, allocations: 0.5896 MB / 0.6499 GB, free: 19.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5949, allocations: 53.97 kB / 0.65 GB, free: 19.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.5959, allocations: 0.9328 MB / 0.6509 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.596, allocations: 36.98 kB / 0.6509 GB, free: 19.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.5963, allocations: 0.4994 MB / 0.6514 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/0.5964, allocations: 127.1 kB / 0.6515 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.5965, allocations: 59.28 kB / 0.6516 GB, free: 18.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.5966, allocations: 335.6 kB / 0.6519 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.597, allocations: 198.8 kB / 0.6521 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.5975, allocations: 419.4 kB / 0.6525 GB, free: 18.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/0.5985, allocations: 0.6095 MB / 0.6531 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5985, allocations: 1.062 kB / 0.6531 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001325/0.5998, allocations: 0.7177 MB / 0.6538 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.6, allocations: 272.3 kB / 0.654 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6, allocations: 9.922 kB / 0.654 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.6, allocations: 9.25 kB / 0.6541 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.6006, allocations: 142.7 kB / 0.6542 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.6007, allocations: 16.38 kB / 0.6542 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.6014, allocations: 55.31 kB / 0.6543 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/0.6015, allocations: 30.36 kB / 0.6543 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.6015, allocations: 5.469 kB / 0.6543 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001169/0.6027, allocations: 0.5531 MB / 0.6548 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6027, allocations: 5.812 kB / 0.6548 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.6027, allocations: 13.31 kB / 0.6548 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.6033, allocations: 151.5 kB / 0.655 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.6033, allocations: 10.78 kB / 0.655 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.6038, allocations: 52.41 kB / 0.6551 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.6039, allocations: 30.72 kB / 0.6551 GB, free: 16.7 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.0005556/0.6045, allocations: 371.5 kB / 0.6554 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.6046, allocations: 98 kB / 0.6555 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.606, allocations: 0.6242 MB / 0.6561 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.6061, allocations: 6.078 kB / 0.6561 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6061, allocations: 4 kB / 0.6562 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009699/0.607, allocations: 0.6738 MB / 0.6568 GB, free: 15.62 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.002871/0.6099, allocations: 1.514 MB / 0.6583 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6099, allocations: 1.156 kB / 0.6583 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.6103, allocations: 89.86 kB / 0.6584 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.6104, allocations: 3.031 kB / 0.6584 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.6104, allocations: 21.8 kB / 0.6584 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.6104, allocations: 2.062 kB / 0.6584 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6104, allocations: 2.406 kB / 0.6584 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.612, allocations: 0.8966 MB / 0.6593 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.6123, allocations: 235.8 kB / 0.6595 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.6124, allocations: 9.641 kB / 0.6595 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.6129, allocations: 45.73 kB / 0.6596 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.613, allocations: 31.41 kB / 0.6596 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.613, allocations: 20.56 kB / 0.6596 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008938/0.6139, allocations: 0.6366 MB / 0.6602 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6139, allocations: 0 / 0.6602 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001763/0.6157, allocations: 0.5179 MB / 0.6607 GB, free: 13.71 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.0008922/0.6166, allocations: 372.2 kB / 0.6611 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001866/0.6185, allocations: 0.7914 MB / 0.6619 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6185, allocations: 0 / 0.6619 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.619, allocations: 237.2 kB / 0.6621 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.6215, allocations: 487.6 kB / 0.6626 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.6247, allocations: 2.166 MB / 0.6647 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.6254, allocations: 1.08 MB / 0.6657 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001068/0.6265, allocations: 252.8 kB / 0.666 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.6267, allocations: 90.61 kB / 0.666 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.6267, allocations: 0 / 0.666 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.04185/0.6686, allocations: 19.39 MB / 0.685 GB, free: 5.129 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)