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.001582/0.001582, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.804/0.804, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0008422/0.0008421, allocations: 104.1 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.993e-05, allocations: 4 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4603, allocations: 82.31 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8102/1.271, allocations: 359.3 MB / 0.9847 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.271, allocations: 90.89 kB / 0.9848 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.969/2.24, allocations: 293.4 MB / 1.271 GB, free: 65.63 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/2.24, allocations: 4 kB / 1.271 GB, free: 65.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001231/2.24, allocations: 24 kB / 1.271 GB, free: 65.61 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.002212/2.242, allocations: 1.238 MB / 1.272 GB, free: 64.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/2.242, allocations: 8.031 kB / 1.272 GB, free: 64.31 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000844/2.243, allocations: 194.4 kB / 1.273 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/2.256, allocations: 6.421 MB / 1.279 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/2.256, allocations: 23.98 kB / 1.279 GB, free: 57.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-05/2.256, allocations: 40 kB / 1.279 GB, free: 57.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008421/2.257, allocations: 454.5 kB / 1.279 GB, free: 57.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/2.258, allocations: 0.5746 MB / 1.28 GB, free: 56.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/2.258, allocations: 3.938 kB / 1.28 GB, free: 56.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/2.258, allocations: 4 kB / 1.28 GB, free: 56.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/2.258, allocations: 12 kB / 1.28 GB, free: 56.47 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003415/2.261, allocations: 2.643 MB / 1.283 GB, free: 53.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/2.261, allocations: 351.6 kB / 1.283 GB, free: 53.35 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/2.262, allocations: 157.4 kB / 1.283 GB, free: 53.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/2.263, allocations: 1.482 MB / 1.285 GB, free: 51.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/2.264, allocations: 205.5 kB / 1.285 GB, free: 51.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002378/2.264, allocations: 51.64 kB / 1.285 GB, free: 51.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/2.264, allocations: 3.938 kB / 1.285 GB, free: 51.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001019/2.265, allocations: 436.2 kB / 1.285 GB, free: 50.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/2.265, allocations: 63.33 kB / 1.285 GB, free: 50.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/2.266, allocations: 0.6689 MB / 1.286 GB, free: 50.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/2.266, allocations: 29.7 kB / 1.286 GB, free: 50.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/2.266, allocations: 491.4 kB / 1.286 GB, free: 49.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/2.266, allocations: 106.5 kB / 1.286 GB, free: 49.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/2.266, allocations: 0 / 1.286 GB, free: 49.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/2.266, allocations: 330 kB / 1.287 GB, free: 49.13 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/2.266, allocations: 149.1 kB / 1.287 GB, free: 48.99 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/2.267, allocations: 369 kB / 1.287 GB, free: 48.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007357/2.267, allocations: 257.1 kB / 1.288 GB, free: 48.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/2.267, allocations: 7.953 kB / 1.288 GB, free: 48.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001164/2.269, allocations: 0.6073 MB / 1.288 GB, free: 47.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000465/2.269, allocations: 2.293 MB / 1.29 GB, free: 45.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/2.269, allocations: 8 kB / 1.29 GB, free: 45.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/2.269, allocations: 8 kB / 1.29 GB, free: 45.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/2.27, allocations: 139.8 kB / 1.291 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/2.27, allocations: 15.92 kB / 1.291 GB, free: 45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/2.27, allocations: 51.8 kB / 1.291 GB, free: 44.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/2.271, allocations: 39.98 kB / 1.291 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/2.271, allocations: 5.562 kB / 1.291 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009952/2.272, allocations: 476.8 kB / 1.291 GB, free: 44.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/2.272, allocations: 4 kB / 1.291 GB, free: 44.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/2.272, allocations: 11.94 kB / 1.291 GB, free: 44.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/2.272, allocations: 131.8 kB / 1.291 GB, free: 44.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/2.272, allocations: 8 kB / 1.291 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/2.273, allocations: 44.25 kB / 1.291 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/2.273, allocations: 31.98 kB / 1.291 GB, free: 44.22 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 () * 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.0001458/2.273, allocations: 136.7 kB / 1.291 GB, free: 44.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/2.273, allocations: 90.86 kB / 1.292 GB, free: 43.99 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/2.274, allocations: 0.5338 MB / 1.292 GB, free: 43.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/2.274, allocations: 4 kB / 1.292 GB, free: 43.44 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/2.274, allocations: 0 / 1.292 GB, free: 43.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006333/2.275, allocations: 0.6003 MB / 1.293 GB, free: 42.77 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001797/2.276, allocations: 1.294 MB / 1.294 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/2.276, allocations: 0 / 1.294 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/2.277, allocations: 79.88 kB / 1.294 GB, free: 41.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/2.277, allocations: 8.125 kB / 1.294 GB, free: 41.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/2.277, allocations: 11.98 kB / 1.294 GB, free: 41.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/2.277, allocations: 4 kB / 1.294 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.277, allocations: 0 / 1.294 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009966/2.278, allocations: 0.8109 MB / 1.295 GB, free: 40.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/2.278, allocations: 215.8 kB / 1.295 GB, free: 40.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.801e-05/2.278, allocations: 4 kB / 1.295 GB, free: 40.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/2.279, allocations: 43.92 kB / 1.295 GB, free: 40.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/2.279, allocations: 35.95 kB / 1.295 GB, free: 40.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/2.279, allocations: 15.98 kB / 1.295 GB, free: 40.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005519/2.279, allocations: 0.5147 MB / 1.296 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.279, allocations: 4 kB / 1.296 GB, free: 39.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001776/2.281, allocations: 0.5613 MB / 1.296 GB, free: 39.04 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) * 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.001213/2.282, allocations: 0.7436 MB / 1.297 GB, free: 38.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009422/2.283, allocations: 0.7655 MB / 1.298 GB, free: 37.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/2.283, allocations: 0 / 1.298 GB, free: 37.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/2.284, allocations: 198.1 kB / 1.298 GB, free: 37.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/2.285, allocations: 392 kB / 1.298 GB, free: 36.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/2.287, allocations: 1.181 MB / 1.299 GB, free: 35.71 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/2.288, allocations: 1.081 MB / 1.3 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001054/2.289, allocations: 306.9 kB / 1.301 GB, free: 34.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/2.289, allocations: 67.41 kB / 1.301 GB, free: 34.22 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/2.289, allocations: 0 / 1.301 GB, free: 34.22 MB / 0.6823 GB Notification: Performance of Templates: time 0.03036/2.319, allocations: 19.75 MB / 1.32 GB, free: 14.68 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)