Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009607/0.009607, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7722/0.7722, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 223.2 MB / 403.2 MB, free: 6.652 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.0009622/0.000962, allocations: 99.88 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004121, allocations: 19.98 kB / 0.5641 GB, free: 2.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4379, allocations: 81.57 MB / 0.6437 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7506/1.189, allocations: 359.7 MB / 0.9951 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.189, allocations: 95.62 kB / 0.9952 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.825/2.014, allocations: 296.6 MB / 1.285 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.433e-06/2.014, allocations: 0 / 1.285 GB, free: 40.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000111/2.014, allocations: 39.86 kB / 1.285 GB, free: 40.38 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.002898/2.017, allocations: 1.533 MB / 1.286 GB, free: 38.78 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/2.017, allocations: 12.03 kB / 1.286 GB, free: 38.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008756/2.018, allocations: 187.2 kB / 1.287 GB, free: 38.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/2.03, allocations: 6.503 MB / 1.293 GB, free: 31.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/2.03, allocations: 53.31 kB / 1.293 GB, free: 31.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/2.03, allocations: 76.19 kB / 1.293 GB, free: 31.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/2.032, allocations: 0.6905 MB / 1.294 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/2.032, allocations: 3.938 kB / 1.294 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/2.032, allocations: 28 kB / 1.294 GB, free: 31.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/2.032, allocations: 12 kB / 1.294 GB, free: 31.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/2.033, allocations: 0.5282 MB / 1.294 GB, free: 30.57 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.003377/2.036, allocations: 2.773 MB / 1.297 GB, free: 27.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/2.037, allocations: 402.9 kB / 1.297 GB, free: 27.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/2.039, allocations: 1.51 MB / 1.299 GB, free: 25.58 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004729/2.039, allocations: 254.8 kB / 1.299 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002567/2.039, allocations: 59.36 kB / 1.299 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/2.039, allocations: 7.938 kB / 1.299 GB, free: 25.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001272/2.041, allocations: 0.5721 MB / 1.3 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/2.041, allocations: 59.41 kB / 1.3 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008378/2.042, allocations: 0.7851 MB / 1.3 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/2.042, allocations: 37.7 kB / 1.301 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/2.042, allocations: 491.7 kB / 1.301 GB, free: 23.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/2.042, allocations: 114.5 kB / 1.301 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/2.042, allocations: 8 kB / 1.301 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.992e-05/2.042, allocations: 329.9 kB / 1.301 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/2.042, allocations: 177 kB / 1.302 GB, free: 22.65 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/2.043, allocations: 414.4 kB / 1.302 GB, free: 22.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/2.043, allocations: 261.6 kB / 1.302 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/2.043, allocations: 0 / 1.302 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001178/2.045, allocations: 0.6907 MB / 1.303 GB, free: 21.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003579/2.045, allocations: 2.299 MB / 1.305 GB, free: 18.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/2.045, allocations: 4 kB / 1.305 GB, free: 18.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/2.045, allocations: 12 kB / 1.305 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/2.045, allocations: 131.8 kB / 1.305 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/2.046, allocations: 19.92 kB / 1.305 GB, free: 18.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/2.046, allocations: 55.91 kB / 1.305 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/2.046, allocations: 35.97 kB / 1.305 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/2.046, allocations: 4 kB / 1.305 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009254/2.047, allocations: 0.5685 MB / 1.306 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/2.047, allocations: 8 kB / 1.306 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/2.047, allocations: 8 kB / 1.306 GB, free: 17.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/2.048, allocations: 127.8 kB / 1.306 GB, free: 17.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/2.048, allocations: 11.98 kB / 1.306 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/2.048, allocations: 56.06 kB / 1.306 GB, free: 17.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/2.048, allocations: 31.98 kB / 1.306 GB, free: 17.62 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.0004362/2.049, allocations: 376.5 kB / 1.307 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/2.049, allocations: 94.86 kB / 1.307 GB, free: 17.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/2.05, allocations: 0.6117 MB / 1.307 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/2.05, allocations: 4 kB / 1.307 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.05, allocations: 4 kB / 1.307 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008514/2.051, allocations: 0.6557 MB / 1.308 GB, free: 15.8 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.002085/2.053, allocations: 1.442 MB / 1.309 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/2.053, allocations: 8.125 kB / 1.309 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/2.053, allocations: 83.88 kB / 1.309 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/2.053, allocations: 3.953 kB / 1.309 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/2.054, allocations: 12 kB / 1.309 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/2.054, allocations: 0 / 1.309 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.054, allocations: 7.984 kB / 1.309 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/2.055, allocations: 0.9165 MB / 1.31 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/2.055, allocations: 215.9 kB / 1.31 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/2.055, allocations: 8 kB / 1.311 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/2.056, allocations: 47.92 kB / 1.311 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/2.056, allocations: 35.91 kB / 1.311 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/2.056, allocations: 23.97 kB / 1.311 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006608/2.057, allocations: 0.6141 MB / 1.311 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/2.057, allocations: 0 / 1.311 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001818/2.058, allocations: 0.581 MB / 1.312 GB, free: 11.64 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.001134/2.06, allocations: 0.7643 MB / 1.313 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001507/2.061, allocations: 0.856 MB / 1.313 GB, free: 10 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/2.061, allocations: 0 / 1.313 GB, free: 10 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004376/2.062, allocations: 233.7 kB / 1.314 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/2.063, allocations: 473 kB / 1.314 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/2.066, allocations: 1.997 MB / 1.316 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/2.066, allocations: 1.072 MB / 1.317 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000879/2.067, allocations: 227.7 kB / 1.317 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/2.067, allocations: 83.41 kB / 1.317 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/2.067, allocations: 0 / 1.317 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of Templates: time 0.3246/2.392, allocations: 22.6 MB / 1.339 GB, free: 140.9 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)