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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8514/0.8514, allocations: 134 MB / 438.5 MB, free: 13.64 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 67.89 kB / 0.6083 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4555, allocations: 84.68 MB / 0.691 GB, free: 2.156 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.03455/0.4901, allocations: 31.11 MB / 0.7214 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01803/0.5081, allocations: 10.32 MB / 0.7315 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.5099, allocations: 47.75 kB / 0.7315 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.5123, allocations: 0.6991 MB / 0.7322 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004362/0.5167, allocations: 1.497 MB / 0.7337 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.5201, allocations: 1.314 MB / 0.735 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0044/0.5245, allocations: 2.908 MB / 0.7378 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.5261, allocations: 0.7456 MB / 0.7385 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.5289, allocations: 1.181 MB / 0.7397 GB, free: 4.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.5304, allocations: 0.8206 MB / 0.7405 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/0.5307, allocations: 96 kB / 0.7406 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.5328, allocations: 0.8269 MB / 0.7414 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005796/0.5334, allocations: 354.7 kB / 0.7417 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.5345, allocations: 0.5753 MB / 0.7423 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.5382, allocations: 1.907 MB / 0.7442 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5382, allocations: 0 / 0.7442 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5382, allocations: 0 / 0.7442 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.64e-05/0.5382, allocations: 0 / 0.7442 GB, free: 15.59 MB / 0.5606 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.003181/0.5414, allocations: 1.534 MB / 0.7457 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5414, allocations: 11.97 kB / 0.7457 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.5426, allocations: 212 kB / 0.7459 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.5448, allocations: 1.008 MB / 0.7468 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.5449, allocations: 53.3 kB / 0.7469 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.545, allocations: 75.89 kB / 0.747 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.5466, allocations: 0.6981 MB / 0.7477 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.5466, allocations: 4 kB / 0.7477 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.5467, allocations: 24 kB / 0.7477 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5467, allocations: 12 kB / 0.7477 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.548, allocations: 0.5203 MB / 0.7482 GB, free: 11.31 MB / 0.5606 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.004775/0.5528, allocations: 3.079 MB / 0.7512 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/0.5537, allocations: 354.7 kB / 0.7515 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.5542, allocations: 164.8 kB / 0.7517 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002105/0.5563, allocations: 1.505 MB / 0.7532 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006135/0.5569, allocations: 232.8 kB / 0.7534 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.5569, allocations: 0 / 0.7534 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001519/0.5584, allocations: 0.5437 MB / 0.7539 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.5585, allocations: 59.28 kB / 0.754 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.5598, allocations: 0.9151 MB / 0.7549 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.5598, allocations: 29.7 kB / 0.7549 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.5603, allocations: 0.4927 MB / 0.7554 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.5604, allocations: 107 kB / 0.7555 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.5607, allocations: 130.1 kB / 0.7556 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5608, allocations: 322 kB / 0.7559 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.5613, allocations: 199 kB / 0.7561 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/0.562, allocations: 398.3 kB / 0.7565 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.5631, allocations: 0.5991 MB / 0.7571 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.5631, allocations: 4 kB / 0.7571 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001563/0.5646, allocations: 0.711 MB / 0.7578 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.5647, allocations: 37.69 kB / 0.7578 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.5647, allocations: 4 kB / 0.7578 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.5647, allocations: 12 kB / 0.7578 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.5653, allocations: 128 kB / 0.7579 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.5653, allocations: 15.94 kB / 0.758 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.566, allocations: 80.14 kB / 0.758 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/0.566, allocations: 31.98 kB / 0.7581 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000751/0.5668, allocations: 397.1 kB / 0.7584 GB, free: 176 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006011/0.5674, allocations: 374.3 kB / 0.7588 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009582/0.5683, allocations: 0.5425 MB / 0.7593 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/0.5684, allocations: 7.938 kB / 0.7593 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00143/0.5698, allocations: 0.6546 MB / 0.76 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.5698, allocations: 37.7 kB / 0.76 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.5698, allocations: 8 kB / 0.76 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5699, allocations: 8 kB / 0.76 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.5703, allocations: 120.2 kB / 0.7601 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.5703, allocations: 27.86 kB / 0.7602 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.5709, allocations: 56.31 kB / 0.7602 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.571, allocations: 31.98 kB / 0.7603 GB, free: 14.12 MB / 0.5762 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 (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.0002058/0.5712, allocations: 212.1 kB / 0.7605 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.5714, allocations: 99.39 kB / 0.7606 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.5728, allocations: 0.5713 MB / 0.7611 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.5729, allocations: 11.92 kB / 0.7611 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5729, allocations: 0 / 0.7611 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/0.574, allocations: 0.6465 MB / 0.7618 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.5764, allocations: 1.36 MB / 0.7631 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.5764, allocations: 4 kB / 0.7631 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.5768, allocations: 75.88 kB / 0.7632 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.5768, allocations: 4 kB / 0.7632 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.5769, allocations: 11.98 kB / 0.7632 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.5769, allocations: 4 kB / 0.7632 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5769, allocations: 160 / 0.7632 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.5786, allocations: 0.8474 MB / 0.764 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.579, allocations: 220.3 kB / 0.7642 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.5791, allocations: 8 kB / 0.7642 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.5795, allocations: 23.97 kB / 0.7642 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.5796, allocations: 36.31 kB / 0.7643 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.5797, allocations: 15.98 kB / 0.7643 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009281/0.5806, allocations: 0.6258 MB / 0.7649 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5806, allocations: 0 / 0.7649 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001464/0.5821, allocations: 0.5067 MB / 0.7654 GB, free: 8.641 MB / 0.5762 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 (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.0009021/0.583, allocations: 379 kB / 0.7658 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.5848, allocations: 0.8242 MB / 0.7666 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5848, allocations: 0 / 0.7666 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005192/0.5854, allocations: 207.8 kB / 0.7668 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.5874, allocations: 499.3 kB / 0.7672 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.5905, allocations: 1.619 MB / 0.7688 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/0.5912, allocations: 1.056 MB / 0.7699 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007924/0.592, allocations: 231.4 kB / 0.7701 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.5922, allocations: 79.41 kB / 0.7701 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.5922, allocations: 0 / 0.7701 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of Templates: time 0.03752/0.6297, allocations: 20.4 MB / 0.7901 GB, free: 15.59 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.712936149910092]