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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 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.002097/0.002097, allocations: 198 kB / 16.54 MB, free: 6.672 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7832/0.7832, allocations: 132.2 MB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.47 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3953, allocations: 80.21 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.03087/0.4262, allocations: 30.57 MB / 0.6099 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.4406, allocations: 10.22 MB / 0.6199 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.4427, allocations: 45.34 kB / 0.62 GB, free: 5.699 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.4446, allocations: 0.6944 MB / 0.6206 GB, free: 5.148 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.4481, allocations: 1.458 MB / 0.6221 GB, free: 3.996 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.451, allocations: 1.295 MB / 0.6233 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.4544, allocations: 2.874 MB / 0.6261 GB, free: 1.406 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4556, allocations: 0.9302 MB / 0.627 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.4578, allocations: 1.135 MB / 0.6282 GB, free: 140 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.4587, allocations: 0.7697 MB / 0.6289 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.4588, allocations: 104 kB / 0.629 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.4605, allocations: 0.7919 MB / 0.6298 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.4608, allocations: 335 kB / 0.6301 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005017/0.4613, allocations: 0.5792 MB / 0.6307 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.4633, allocations: 1.866 MB / 0.6325 GB, free: 11.74 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4633, allocations: 7.984 kB / 0.6325 GB, free: 11.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4633, allocations: 0 / 0.6325 GB, free: 11.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.4634, allocations: 0 / 0.6325 GB, free: 11.73 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00234/0.4657, allocations: 1.485 MB / 0.6339 GB, free: 10.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4658, allocations: 8.031 kB / 0.634 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009696/0.4667, allocations: 199.4 kB / 0.6341 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.4682, allocations: 0.9723 MB / 0.6351 GB, free: 8.969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.4683, allocations: 53.3 kB / 0.6351 GB, free: 8.918 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.4684, allocations: 71.91 kB / 0.6352 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4695, allocations: 0.6981 MB / 0.6359 GB, free: 8.121 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4696, allocations: 4 kB / 0.6359 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.4696, allocations: 31.88 kB / 0.6359 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.4697, allocations: 16 kB / 0.6359 GB, free: 8.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.4708, allocations: 0.5165 MB / 0.6364 GB, free: 7.555 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.003624/0.4744, allocations: 3.086 MB / 0.6395 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008867/0.4753, allocations: 386.3 kB / 0.6398 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/0.4757, allocations: 184.8 kB / 0.64 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/0.4774, allocations: 1.493 MB / 0.6415 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005205/0.4779, allocations: 240.8 kB / 0.6417 GB, free: 1.805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 2.255e-06/0.4779, allocations: 0 / 0.6417 GB, free: 1.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001346/0.4793, allocations: 0.5471 MB / 0.6422 GB, free: 1.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.4793, allocations: 59.34 kB / 0.6423 GB, free: 1.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.4804, allocations: 0.8956 MB / 0.6432 GB, free: 268 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.4804, allocations: 37.7 kB / 0.6432 GB, free: 224 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.4808, allocations: 491.7 kB / 0.6437 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/0.4809, allocations: 102.5 kB / 0.6438 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.4811, allocations: 130 kB / 0.6439 GB, free: 15.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4812, allocations: 330 kB / 0.6442 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.4816, allocations: 199 kB / 0.6444 GB, free: 14.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.4822, allocations: 402.3 kB / 0.6448 GB, free: 14.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.4833, allocations: 0.599 MB / 0.6454 GB, free: 13.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4833, allocations: 3.938 kB / 0.6454 GB, free: 13.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001397/0.4847, allocations: 0.6913 MB / 0.646 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.4847, allocations: 41.69 kB / 0.6461 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.4848, allocations: 12.03 kB / 0.6461 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4848, allocations: 8 kB / 0.6461 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.4853, allocations: 131.7 kB / 0.6462 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.4853, allocations: 12 kB / 0.6462 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.4859, allocations: 79.91 kB / 0.6463 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.4859, allocations: 31.98 kB / 0.6463 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00062/0.4866, allocations: 402.6 kB / 0.6467 GB, free: 12.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004825/0.4871, allocations: 374.1 kB / 0.6471 GB, free: 11.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008327/0.4879, allocations: 0.5463 MB / 0.6476 GB, free: 11.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.041e-05/0.4879, allocations: 4 kB / 0.6476 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001221/0.4892, allocations: 0.6583 MB / 0.6483 GB, free: 10.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.4892, allocations: 33.7 kB / 0.6483 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.4892, allocations: 8.062 kB / 0.6483 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.4892, allocations: 8 kB / 0.6483 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.4896, allocations: 123.8 kB / 0.6484 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.4897, allocations: 15.92 kB / 0.6484 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.4902, allocations: 56.27 kB / 0.6485 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.4902, allocations: 27.98 kB / 0.6485 GB, free: 10.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 1 * Algorithm blocks: 1 * 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.0001604/0.4904, allocations: 220.1 kB / 0.6487 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4905, allocations: 90.88 kB / 0.6488 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.4919, allocations: 0.5796 MB / 0.6494 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.4919, allocations: 11.94 kB / 0.6494 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4919, allocations: 3.984 kB / 0.6494 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009509/0.4928, allocations: 0.6387 MB / 0.65 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.4952, allocations: 1.359 MB / 0.6514 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4952, allocations: 128 / 0.6514 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.4956, allocations: 79.88 kB / 0.6514 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.4956, allocations: 0 / 0.6514 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.4956, allocations: 19.98 kB / 0.6514 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4956, allocations: 160 / 0.6514 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4957, allocations: 7.938 kB / 0.6515 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4972, allocations: 0.8344 MB / 0.6523 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.4975, allocations: 219.8 kB / 0.6525 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.4977, allocations: 12 kB / 0.6525 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.4981, allocations: 15.98 kB / 0.6525 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.4982, allocations: 32.23 kB / 0.6525 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.4982, allocations: 23.98 kB / 0.6526 GB, free: 6.023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007813/0.499, allocations: 0.6258 MB / 0.6532 GB, free: 5.387 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.499, allocations: 0 / 0.6532 GB, free: 5.387 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001385/0.5004, allocations: 0.5068 MB / 0.6537 GB, free: 4.879 MB / 494.1 MB 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.0008734/0.5013, allocations: 365.5 kB / 0.654 GB, free: 4.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.5031, allocations: 0.8737 MB / 0.6549 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.5031, allocations: 4.25 kB / 0.6549 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.5036, allocations: 227.7 kB / 0.6551 GB, free: 3.402 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.5057, allocations: 0.4923 MB / 0.6556 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.5086, allocations: 1.617 MB / 0.6571 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.5093, allocations: 1.056 MB / 0.6582 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008709/0.5102, allocations: 223.5 kB / 0.6584 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.5103, allocations: 83.39 kB / 0.6585 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.5103, allocations: 0 / 0.6585 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.03319/0.5435, allocations: 20.02 MB / 0.678 GB, free: 12.19 MB / 0.5137 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)