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.0011/0.0011, allocations: 100.1 kB / 15.88 MB, free: 12 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.001256/0.001256, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9921/0.9921, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.28 kB / 0.5053 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1722, allocations: 80.92 MB / 0.5843 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.3477/0.5199, allocations: 30.49 MB / 0.6141 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.5328, allocations: 10.32 MB / 0.6242 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.535, allocations: 43.25 kB / 0.6242 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.5372, allocations: 0.6172 MB / 0.6248 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.5412, allocations: 1.375 MB / 0.6262 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.5443, allocations: 1.187 MB / 0.6273 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004536/0.5489, allocations: 3.93 MB / 0.6312 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.5502, allocations: 0.824 MB / 0.632 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.5522, allocations: 1.02 MB / 0.633 GB, free: 27.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.5532, allocations: 0.8242 MB / 0.6338 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.5534, allocations: 52.66 kB / 0.6338 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.5552, allocations: 0.7525 MB / 0.6346 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.5555, allocations: 296.9 kB / 0.6348 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000566/0.5561, allocations: 0.5626 MB / 0.6354 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.5576, allocations: 1.475 MB / 0.6368 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5576, allocations: 0 / 0.6368 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5576, allocations: 0 / 0.6368 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.5576, allocations: 0 / 0.6368 GB, free: 26.4 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.002515/0.5602, allocations: 1.541 MB / 0.6383 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5602, allocations: 9.188 kB / 0.6383 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5612, allocations: 214 kB / 0.6385 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.5629, allocations: 1.059 MB / 0.6396 GB, free: 24.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.5629, allocations: 52.94 kB / 0.6396 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.563, allocations: 75.94 kB / 0.6397 GB, free: 24.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5642, allocations: 0.7278 MB / 0.6404 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5643, allocations: 0 / 0.6404 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.5643, allocations: 29.53 kB / 0.6404 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.5644, allocations: 25.72 kB / 0.6405 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.5654, allocations: 0.54 MB / 0.641 GB, free: 24.06 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.003523/0.5689, allocations: 3.157 MB / 0.6441 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.57, allocations: 446.8 kB / 0.6445 GB, free: 21.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.5703, allocations: 202.1 kB / 0.6447 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/0.5719, allocations: 1.548 MB / 0.6462 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/0.5724, allocations: 258.3 kB / 0.6465 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002043/0.5726, allocations: 49.95 kB / 0.6465 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.004e-06/0.5726, allocations: 0 / 0.6465 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001226/0.5738, allocations: 0.5919 MB / 0.6471 GB, free: 19.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5739, allocations: 54.06 kB / 0.6471 GB, free: 19.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.5749, allocations: 0.9282 MB / 0.648 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.575, allocations: 37.36 kB / 0.6481 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.5753, allocations: 0.4971 MB / 0.6486 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.5754, allocations: 128.6 kB / 0.6487 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.5756, allocations: 136.9 kB / 0.6488 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.5757, allocations: 326.2 kB / 0.6491 GB, free: 18.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.5762, allocations: 212.7 kB / 0.6493 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.5767, allocations: 413.8 kB / 0.6497 GB, free: 18.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009915/0.5777, allocations: 0.6054 MB / 0.6503 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.5778, allocations: 1.5 kB / 0.6503 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001398/0.5792, allocations: 0.721 MB / 0.651 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5792, allocations: 7.25 kB / 0.651 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.5792, allocations: 6.219 kB / 0.651 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.5792, allocations: 9.188 kB / 0.651 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.5798, allocations: 143 kB / 0.6512 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.5799, allocations: 15.75 kB / 0.6512 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.5805, allocations: 51.8 kB / 0.6512 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/0.5806, allocations: 32.72 kB / 0.6513 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000665/0.5813, allocations: 415.9 kB / 0.6517 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004772/0.5818, allocations: 393.2 kB / 0.652 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007925/0.5826, allocations: 0.5677 MB / 0.6526 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.5826, allocations: 1.438 kB / 0.6526 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001217/0.5838, allocations: 0.6591 MB / 0.6532 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5838, allocations: 11.06 kB / 0.6533 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.5839, allocations: 6.844 kB / 0.6533 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5839, allocations: 11.02 kB / 0.6533 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.5844, allocations: 140.4 kB / 0.6534 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.5844, allocations: 14.53 kB / 0.6534 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.585, allocations: 46.34 kB / 0.6535 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.5851, allocations: 39.38 kB / 0.6535 GB, free: 16.13 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.0001838/0.5853, allocations: 215.6 kB / 0.6537 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.5854, allocations: 99.88 kB / 0.6538 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.5869, allocations: 0.6212 MB / 0.6544 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.5869, allocations: 5.953 kB / 0.6544 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5869, allocations: 0.625 kB / 0.6544 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009575/0.5879, allocations: 0.6738 MB / 0.6551 GB, free: 15.14 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.002586/0.5905, allocations: 1.499 MB / 0.6565 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5905, allocations: 7.531 kB / 0.6565 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.5909, allocations: 84.42 kB / 0.6566 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5909, allocations: 2.875 kB / 0.6566 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.591, allocations: 13.2 kB / 0.6566 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.591, allocations: 3.375 kB / 0.6566 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.591, allocations: 4.969 kB / 0.6566 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.5925, allocations: 0.8912 MB / 0.6575 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.5928, allocations: 222.9 kB / 0.6577 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5929, allocations: 14.33 kB / 0.6577 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.5934, allocations: 43.02 kB / 0.6578 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.5935, allocations: 35.22 kB / 0.6578 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.5936, allocations: 20.22 kB / 0.6578 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009208/0.5945, allocations: 0.6356 MB / 0.6585 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5945, allocations: 1.406 kB / 0.6585 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001722/0.5962, allocations: 0.5205 MB / 0.659 GB, free: 13.23 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.0008352/0.5971, allocations: 371.1 kB / 0.6593 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.5989, allocations: 0.7829 MB / 0.6601 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5989, allocations: 0 / 0.6601 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.5994, allocations: 235.8 kB / 0.6603 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.6015, allocations: 485.3 kB / 0.6608 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.6046, allocations: 2.185 MB / 0.6629 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.6053, allocations: 1.073 MB / 0.664 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.6056, allocations: 92.38 kB / 0.664 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.6056, allocations: 5.312 kB / 0.664 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.0392/0.6448, allocations: 18.02 MB / 0.6816 GB, free: 5.188 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)