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.0008152/0.000815, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005753/0.005753, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8338/0.8338, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003214, allocations: 8 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4911, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03552/0.5267, allocations: 29.74 MB / 0.6127 GB, free: 14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.5438, allocations: 10.19 MB / 0.6227 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.5458, allocations: 43.06 kB / 0.6227 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002312/0.5482, allocations: 0.5962 MB / 0.6233 GB, free: 5.355 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.5527, allocations: 1.382 MB / 0.6246 GB, free: 4.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.5564, allocations: 1.19 MB / 0.6258 GB, free: 3.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005815/0.5623, allocations: 3.923 MB / 0.6296 GB, free: 1.262 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.5639, allocations: 0.8037 MB / 0.6304 GB, free: 460 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.5664, allocations: 0.9763 MB / 0.6314 GB, free: 15.47 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.5678, allocations: 0.7893 MB / 0.6321 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.5679, allocations: 40 kB / 0.6322 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.5699, allocations: 0.7448 MB / 0.6329 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.5702, allocations: 286.9 kB / 0.6332 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006501/0.5709, allocations: 0.565 MB / 0.6337 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.5734, allocations: 1.865 MB / 0.6355 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5734, allocations: 0 / 0.6355 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5735, allocations: 0 / 0.6355 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.5735, allocations: 4 kB / 0.6355 GB, free: 11.16 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.002665/0.5762, allocations: 1.333 MB / 0.6368 GB, free: 9.777 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5762, allocations: 12.03 kB / 0.6369 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009932/0.5772, allocations: 215.3 kB / 0.6371 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.5791, allocations: 1.05 MB / 0.6381 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.5792, allocations: 53.31 kB / 0.6381 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.5793, allocations: 68 kB / 0.6382 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.5807, allocations: 0.7324 MB / 0.6389 GB, free: 7.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.5807, allocations: 0 / 0.6389 GB, free: 7.582 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.5808, allocations: 27.94 kB / 0.6389 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.5808, allocations: 29.31 kB / 0.639 GB, free: 7.527 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.582, allocations: 0.5477 MB / 0.6395 GB, free: 6.977 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.004321/0.5863, allocations: 3.155 MB / 0.6426 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.5875, allocations: 467.7 kB / 0.643 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.588, allocations: 210.1 kB / 0.6432 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002152/0.5901, allocations: 1.545 MB / 0.6447 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005563/0.5907, allocations: 258.9 kB / 0.645 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002494/0.5909, allocations: 59.45 kB / 0.6451 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 4.057e-06/0.591, allocations: 4 kB / 0.6451 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.001476/0.5924, allocations: 0.5882 MB / 0.6456 GB, free: 324 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.5925, allocations: 67.09 kB / 0.6457 GB, free: 244 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.5937, allocations: 0.9256 MB / 0.6466 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.5938, allocations: 37.7 kB / 0.6466 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.5943, allocations: 0.4958 MB / 0.6471 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.5944, allocations: 134.2 kB / 0.6472 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.5945, allocations: 57.69 kB / 0.6473 GB, free: 14.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5947, allocations: 322 kB / 0.6476 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.5951, allocations: 209.2 kB / 0.6478 GB, free: 14.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/0.5958, allocations: 416.5 kB / 0.6482 GB, free: 13.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.597, allocations: 0.6072 MB / 0.6488 GB, free: 12.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.597, allocations: 8 kB / 0.6488 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001406/0.5984, allocations: 0.7178 MB / 0.6495 GB, free: 12.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000215/0.5986, allocations: 262.1 kB / 0.6498 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.5986, allocations: 7.984 kB / 0.6498 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/0.5987, allocations: 16 kB / 0.6498 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.5992, allocations: 147.7 kB / 0.6499 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.5993, allocations: 8 kB / 0.6499 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.6001, allocations: 60.55 kB / 0.65 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.51e-05/0.6002, allocations: 31.98 kB / 0.65 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.6002, allocations: 4 kB / 0.65 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/0.6013, allocations: 0.5501 MB / 0.6506 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6013, allocations: 12.09 kB / 0.6506 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.6013, allocations: 8 kB / 0.6506 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.6018, allocations: 143.8 kB / 0.6507 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.6018, allocations: 11.94 kB / 0.6507 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.6024, allocations: 56.53 kB / 0.6508 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.6024, allocations: 31.98 kB / 0.6508 GB, free: 10.7 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.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.000611/0.603, allocations: 372.8 kB / 0.6512 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.6032, allocations: 98.72 kB / 0.6513 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.6046, allocations: 0.6283 MB / 0.6519 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.6046, allocations: 4 kB / 0.6519 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.6046, allocations: 0 / 0.6519 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.6056, allocations: 0.6781 MB / 0.6525 GB, free: 8.828 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.002282/0.6079, allocations: 1.514 MB / 0.654 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.608, allocations: 11.94 kB / 0.654 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.6084, allocations: 79.89 kB / 0.6541 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.6084, allocations: 8.125 kB / 0.6541 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.6084, allocations: 19.98 kB / 0.6541 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6084, allocations: 0 / 0.6541 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6084, allocations: 4 kB / 0.6541 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.61, allocations: 0.886 MB / 0.655 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.6103, allocations: 239.7 kB / 0.6552 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.6104, allocations: 16 kB / 0.6552 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.6109, allocations: 39.95 kB / 0.6553 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.611, allocations: 31.91 kB / 0.6553 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.6111, allocations: 23.98 kB / 0.6553 GB, free: 5.832 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009121/0.612, allocations: 0.6389 MB / 0.656 GB, free: 5.184 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.612, allocations: 0 / 0.656 GB, free: 5.184 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001549/0.6135, allocations: 0.5146 MB / 0.6565 GB, free: 4.668 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 (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.0008584/0.6144, allocations: 366.8 kB / 0.6568 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.6161, allocations: 0.7922 MB / 0.6576 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6161, allocations: 0 / 0.6576 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.6166, allocations: 233 kB / 0.6578 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.619, allocations: 484.8 kB / 0.6583 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.6223, allocations: 2.177 MB / 0.6604 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007072/0.623, allocations: 1.084 MB / 0.6615 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001068/0.6241, allocations: 251.5 kB / 0.6617 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.6243, allocations: 91.41 kB / 0.6618 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.6243, allocations: 0 / 0.6618 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.03378/0.6581, allocations: 19.37 MB / 0.6807 GB, free: 12.09 MB / 0.5137 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)