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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005549/0.005554, allocations: 103.9 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9589/0.9589, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4629, allocations: 80.91 MB / 0.6646 GB, free: 7.582 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.03151/0.4945, allocations: 30.57 MB / 0.6945 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.5105, allocations: 10.22 MB / 0.7045 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.513, allocations: 45.31 kB / 0.7045 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.5154, allocations: 0.6941 MB / 0.7052 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.5201, allocations: 1.503 MB / 0.7067 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003996/0.5242, allocations: 1.305 MB / 0.7079 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005564/0.5297, allocations: 2.895 MB / 0.7108 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.5315, allocations: 0.9254 MB / 0.7117 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.5346, allocations: 1.166 MB / 0.7128 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.5359, allocations: 0.7817 MB / 0.7136 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.5361, allocations: 96 kB / 0.7137 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.5381, allocations: 0.7919 MB / 0.7144 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003869/0.5385, allocations: 331 kB / 0.7147 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007186/0.5392, allocations: 0.5831 MB / 0.7153 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.5425, allocations: 1.891 MB / 0.7172 GB, free: 11.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5425, allocations: 4 kB / 0.7172 GB, free: 11.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5425, allocations: 0 / 0.7172 GB, free: 11.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.5425, allocations: 0 / 0.7172 GB, free: 11.7 MB / 0.545 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.002788/0.5453, allocations: 1.493 MB / 0.7186 GB, free: 10.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.5454, allocations: 8.031 kB / 0.7186 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.5463, allocations: 207.3 kB / 0.7188 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.5481, allocations: 1.003 MB / 0.7198 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.5482, allocations: 49.25 kB / 0.7199 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5483, allocations: 68 kB / 0.7199 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5496, allocations: 0.702 MB / 0.7206 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.5496, allocations: 3.938 kB / 0.7206 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-05/0.5497, allocations: 28 kB / 0.7206 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.5497, allocations: 12 kB / 0.7206 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.5509, allocations: 0.5204 MB / 0.7212 GB, free: 7.484 MB / 0.545 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.004554/0.5555, allocations: 3.078 MB / 0.7242 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.5565, allocations: 377.4 kB / 0.7245 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.5569, allocations: 188.7 kB / 0.7247 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002159/0.5591, allocations: 1.481 MB / 0.7261 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/0.5597, allocations: 251.4 kB / 0.7264 GB, free: 1.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.5597, allocations: 3.938 kB / 0.7264 GB, free: 1.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001424/0.5611, allocations: 0.5354 MB / 0.7269 GB, free: 1.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.5612, allocations: 63.33 kB / 0.727 GB, free: 1.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.5625, allocations: 0.9033 MB / 0.7279 GB, free: 208 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.5625, allocations: 37.64 kB / 0.7279 GB, free: 164 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.563, allocations: 483.9 kB / 0.7284 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.5631, allocations: 110.4 kB / 0.7285 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.5633, allocations: 122.1 kB / 0.7286 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5635, allocations: 326 kB / 0.7289 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/0.564, allocations: 195 kB / 0.7291 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.5646, allocations: 410.1 kB / 0.7295 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.5657, allocations: 0.5951 MB / 0.73 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.5657, allocations: 4 kB / 0.73 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001423/0.5671, allocations: 0.6948 MB / 0.7307 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.5672, allocations: 38.38 kB / 0.7308 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5672, allocations: 11.94 kB / 0.7308 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.5672, allocations: 12 kB / 0.7308 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.5678, allocations: 127.7 kB / 0.7309 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.5678, allocations: 8 kB / 0.7309 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/0.5684, allocations: 84 kB / 0.731 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.5685, allocations: 31.98 kB / 0.731 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008256/0.5693, allocations: 397.1 kB / 0.7314 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00054/0.5699, allocations: 374.8 kB / 0.7318 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008617/0.5707, allocations: 0.5502 MB / 0.7323 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.08e-06/0.5708, allocations: 4 kB / 0.7323 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001223/0.572, allocations: 0.6504 MB / 0.7329 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.572, allocations: 37.7 kB / 0.733 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5721, allocations: 7.938 kB / 0.733 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.5721, allocations: 12 kB / 0.733 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.5725, allocations: 119.8 kB / 0.7331 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.5725, allocations: 15.92 kB / 0.7331 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.573, allocations: 56.17 kB / 0.7332 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.5731, allocations: 31.98 kB / 0.7332 GB, free: 10.31 MB / 0.5606 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.0002224/0.5733, allocations: 220.1 kB / 0.7334 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5735, allocations: 90.88 kB / 0.7335 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.5748, allocations: 0.572 MB / 0.7341 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.5748, allocations: 11.92 kB / 0.7341 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5748, allocations: 0 / 0.7341 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009802/0.5758, allocations: 0.6465 MB / 0.7347 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.5781, allocations: 1.359 MB / 0.736 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5781, allocations: 4 kB / 0.736 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.5784, allocations: 75.88 kB / 0.7361 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.5785, allocations: 8.125 kB / 0.7361 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.5785, allocations: 11.98 kB / 0.7361 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.5785, allocations: 4 kB / 0.7361 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5785, allocations: 3.938 kB / 0.7361 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.5801, allocations: 0.8239 MB / 0.7369 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.5804, allocations: 219.8 kB / 0.7371 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/0.5805, allocations: 12.06 kB / 0.7372 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.5809, allocations: 23.98 kB / 0.7372 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.581, allocations: 36.17 kB / 0.7372 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.581, allocations: 23.97 kB / 0.7372 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008067/0.5818, allocations: 0.6219 MB / 0.7378 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5818, allocations: 0 / 0.7378 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001467/0.5833, allocations: 0.4951 MB / 0.7383 GB, free: 4.852 MB / 0.5606 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.0008643/0.5842, allocations: 378.9 kB / 0.7387 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.586, allocations: 0.8702 MB / 0.7395 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.586, allocations: 1.5 kB / 0.7395 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.5865, allocations: 220 kB / 0.7398 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.5883, allocations: 490.1 kB / 0.7402 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.5911, allocations: 1.589 MB / 0.7418 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.5918, allocations: 1.048 MB / 0.7428 GB, free: 192 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008165/0.5926, allocations: 227.7 kB / 0.743 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.5928, allocations: 83.34 kB / 0.7431 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of SimCode: time 1.442e-06/0.5928, allocations: 4 kB / 0.7431 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.03555/0.6284, allocations: 20.11 MB / 0.7627 GB, free: 12.06 MB / 0.5919 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)