Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01062/0.01062, allocations: 170.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.806/0.806, allocations: 135.2 MB / 151.1 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 223.2 MB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 97.36 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 15.98 kB / 0.5691 GB, free: 14.19 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4763, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8072/1.284, allocations: 360 MB / 1.001 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/1.284, allocations: 90.08 kB / 1.001 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8781/2.162, allocations: 296.6 MB / 1.291 GB, free: 30.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/2.162, allocations: 0 / 1.291 GB, free: 30.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001558/2.162, allocations: 27.98 kB / 1.291 GB, free: 30.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003769/2.166, allocations: 1.538 MB / 1.292 GB, free: 28.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/2.166, allocations: 11.97 kB / 1.292 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/2.167, allocations: 190.5 kB / 1.292 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/2.18, allocations: 6.499 MB / 1.299 GB, free: 21.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/2.18, allocations: 53.31 kB / 1.299 GB, free: 21.76 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/2.18, allocations: 68 kB / 1.299 GB, free: 21.69 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/2.182, allocations: 0.702 MB / 1.3 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/2.182, allocations: 0 / 1.3 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/2.182, allocations: 28 kB / 1.3 GB, free: 20.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/2.182, allocations: 12 kB / 1.3 GB, free: 20.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/2.183, allocations: 0.5243 MB / 1.3 GB, free: 20.4 MB / 0.6823 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.004045/2.187, allocations: 2.773 MB / 1.303 GB, free: 17.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/2.188, allocations: 395.7 kB / 1.303 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/2.19, allocations: 1.51 MB / 1.305 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/2.19, allocations: 257.6 kB / 1.305 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003428/2.19, allocations: 55.5 kB / 1.305 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/2.19, allocations: 0 / 1.305 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001351/2.192, allocations: 0.5848 MB / 1.306 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/2.192, allocations: 55.41 kB / 1.306 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009439/2.193, allocations: 0.789 MB / 1.306 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/2.193, allocations: 33.7 kB / 1.306 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/2.193, allocations: 495.7 kB / 1.307 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/2.193, allocations: 106.4 kB / 1.307 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/2.193, allocations: 12 kB / 1.307 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/2.193, allocations: 333.9 kB / 1.307 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/2.194, allocations: 177 kB / 1.308 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/2.194, allocations: 406.3 kB / 1.308 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/2.195, allocations: 264.1 kB / 1.308 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/2.195, allocations: 4 kB / 1.308 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001258/2.196, allocations: 0.6946 MB / 1.309 GB, free: 11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004433/2.197, allocations: 2.289 MB / 1.311 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/2.197, allocations: 7.953 kB / 1.311 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/2.197, allocations: 8 kB / 1.311 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/2.197, allocations: 147.8 kB / 1.311 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/2.197, allocations: 15.94 kB / 1.311 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/2.198, allocations: 59.88 kB / 1.311 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/2.198, allocations: 35.98 kB / 1.311 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/2.198, allocations: 4 kB / 1.311 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009502/2.199, allocations: 0.5608 MB / 1.312 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/2.199, allocations: 8.156 kB / 1.312 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/2.199, allocations: 12 kB / 1.312 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/2.199, allocations: 127.8 kB / 1.312 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/2.199, allocations: 11.94 kB / 1.312 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/2.2, allocations: 59.86 kB / 1.312 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/2.2, allocations: 28 kB / 1.312 GB, free: 7.441 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 1 * 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.0004979/2.201, allocations: 370.7 kB / 1.312 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/2.201, allocations: 90.88 kB / 1.313 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/2.202, allocations: 0.6156 MB / 1.313 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/2.202, allocations: 4 kB / 1.313 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.202, allocations: 0 / 1.313 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008418/2.203, allocations: 0.6664 MB / 1.314 GB, free: 5.617 MB / 0.6823 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.002243/2.205, allocations: 1.429 MB / 1.315 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/2.205, allocations: 0 / 1.315 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/2.206, allocations: 95.94 kB / 1.315 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/2.206, allocations: 0 / 1.315 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/2.206, allocations: 15.98 kB / 1.315 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/2.206, allocations: 3.953 kB / 1.315 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.206, allocations: 4 kB / 1.315 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/2.207, allocations: 0.9275 MB / 1.316 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/2.207, allocations: 227.8 kB / 1.316 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/2.208, allocations: 12 kB / 1.316 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/2.208, allocations: 47.95 kB / 1.317 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/2.208, allocations: 31.95 kB / 1.317 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/2.208, allocations: 23.94 kB / 1.317 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007824/2.209, allocations: 0.6141 MB / 1.317 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.8e-07/2.209, allocations: 3.938 kB / 1.317 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001868/2.211, allocations: 0.5849 MB / 1.318 GB, free: 1.441 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.001438/2.212, allocations: 0.7649 MB / 1.318 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.3214/2.534, allocations: 0.846 MB / 1.319 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/2.534, allocations: 0.5312 kB / 1.319 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006571/2.534, allocations: 236.2 kB / 1.32 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/2.537, allocations: 465.1 kB / 1.32 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/2.54, allocations: 1.986 MB / 1.322 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/2.541, allocations: 1.075 MB / 1.323 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001133/2.542, allocations: 232 kB / 1.323 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/2.542, allocations: 82.39 kB / 1.323 GB, free: 138 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/2.542, allocations: 0.7812 kB / 1.323 GB, free: 138 MB / 0.6823 GB Notification: Performance of Templates: time 0.03446/2.576, allocations: 22.6 MB / 1.345 GB, free: 137.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)