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.001647/0.001647, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7764/0.7764, allocations: 132.2 MB / 149 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 403.4 MB, free: 7.051 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 97.98 kB / 484.3 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 47.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1317, allocations: 80.2 MB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02781/0.1595, allocations: 30.42 MB / 0.6699 GB, free: 8.234 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.1737, allocations: 10.27 MB / 0.6799 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.1757, allocations: 43.75 kB / 0.6799 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.1777, allocations: 0.5989 MB / 0.6805 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.1812, allocations: 1.368 MB / 0.6819 GB, free: 11.92 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.184, allocations: 1.159 MB / 0.683 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004165/0.1882, allocations: 3.85 MB / 0.6868 GB, free: 6.91 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.1893, allocations: 0.7837 MB / 0.6875 GB, free: 6.113 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.1911, allocations: 0.9998 MB / 0.6885 GB, free: 5.109 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.1919, allocations: 0.7933 MB / 0.6893 GB, free: 4.312 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.192, allocations: 48 kB / 0.6893 GB, free: 4.266 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.1936, allocations: 0.7449 MB / 0.69 GB, free: 3.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.1939, allocations: 294.9 kB / 0.6903 GB, free: 3.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005376/0.1945, allocations: 0.5246 MB / 0.6908 GB, free: 2.703 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.1965, allocations: 1.834 MB / 0.6926 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1965, allocations: 3.984 kB / 0.6926 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1965, allocations: 0 / 0.6926 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.1965, allocations: 0 / 0.6926 GB, free: 0.8594 MB / 490.7 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.2746/0.4711, allocations: 1.501 MB / 0.6941 GB, free: 60.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4712, allocations: 8.719 kB / 0.6941 GB, free: 60.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.4722, allocations: 199.4 kB / 0.6943 GB, free: 60.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.4741, allocations: 0.9984 MB / 0.6953 GB, free: 60.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.4741, allocations: 49.75 kB / 0.6953 GB, free: 60.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4742, allocations: 68.06 kB / 0.6954 GB, free: 60.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.4755, allocations: 0.7102 MB / 0.6961 GB, free: 59.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4756, allocations: 1.188 kB / 0.6961 GB, free: 59.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.4756, allocations: 21.62 kB / 0.6961 GB, free: 59.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.4757, allocations: 14.58 kB / 0.6961 GB, free: 59.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.4769, allocations: 0.5324 MB / 0.6966 GB, free: 59.59 MB / 490.7 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.003904/0.4808, allocations: 3.059 MB / 0.6996 GB, free: 57.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00095/0.4818, allocations: 390.7 kB / 0.7 GB, free: 57.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/0.4822, allocations: 194.6 kB / 0.7002 GB, free: 57.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/0.484, allocations: 1.507 MB / 0.7017 GB, free: 56.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005428/0.4845, allocations: 238.9 kB / 0.7019 GB, free: 55.93 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002129/0.4847, allocations: 53.42 kB / 0.7019 GB, free: 55.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.4847, allocations: 1.531 kB / 0.7019 GB, free: 55.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.001513/0.4863, allocations: 0.5472 MB / 0.7025 GB, free: 55.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.4863, allocations: 56.42 kB / 0.7025 GB, free: 55.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.4875, allocations: 0.8952 MB / 0.7034 GB, free: 55.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.4876, allocations: 33.45 kB / 0.7034 GB, free: 55.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.4879, allocations: 494 kB / 0.7039 GB, free: 54.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.488, allocations: 109 kB / 0.704 GB, free: 54.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.4882, allocations: 125.9 kB / 0.7041 GB, free: 54.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.4882, allocations: 329.1 kB / 0.7044 GB, free: 54.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.4887, allocations: 203.1 kB / 0.7046 GB, free: 54.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.4893, allocations: 402.6 kB / 0.705 GB, free: 54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009685/0.4903, allocations: 0.594 MB / 0.7056 GB, free: 53.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4903, allocations: 2.406 kB / 0.7056 GB, free: 53.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001385/0.4917, allocations: 0.7164 MB / 0.7063 GB, free: 53.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.4918, allocations: 40.16 kB / 0.7063 GB, free: 53.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4918, allocations: 5.25 kB / 0.7063 GB, free: 53.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.4918, allocations: 9.062 kB / 0.7063 GB, free: 53.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.4923, allocations: 128.7 kB / 0.7065 GB, free: 53.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.4924, allocations: 14.38 kB / 0.7065 GB, free: 53.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006844/0.493, allocations: 57.69 kB / 0.7065 GB, free: 53.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.4931, allocations: 31.52 kB / 0.7066 GB, free: 53.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006626/0.4938, allocations: 402.8 kB / 0.707 GB, free: 53.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004841/0.4943, allocations: 380.3 kB / 0.7073 GB, free: 52.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007867/0.4951, allocations: 0.5452 MB / 0.7078 GB, free: 52.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.208e-06/0.4951, allocations: 8.969 kB / 0.7079 GB, free: 52.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001172/0.4963, allocations: 0.6655 MB / 0.7085 GB, free: 52.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.4963, allocations: 36 kB / 0.7085 GB, free: 52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4963, allocations: 5.219 kB / 0.7085 GB, free: 52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.4963, allocations: 9.781 kB / 0.7086 GB, free: 52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.4968, allocations: 122.6 kB / 0.7087 GB, free: 51.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4968, allocations: 18.16 kB / 0.7087 GB, free: 51.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/0.4974, allocations: 48.41 kB / 0.7087 GB, free: 51.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.4975, allocations: 29.73 kB / 0.7088 GB, free: 51.96 MB / 490.7 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 (64): * Single equations (assignments): 62 * 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.0001818/0.4977, allocations: 223.9 kB / 0.709 GB, free: 51.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.4978, allocations: 90.16 kB / 0.7091 GB, free: 51.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.4991, allocations: 0.5821 MB / 0.7096 GB, free: 51.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4992, allocations: 5 kB / 0.7096 GB, free: 51.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4992, allocations: 0 / 0.7096 GB, free: 51.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009665/0.5001, allocations: 0.6477 MB / 0.7103 GB, free: 51.02 MB / 490.7 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 postOpt removeSimpleEquations (simulation): time 0.002471/0.5026, allocations: 1.419 MB / 0.7117 GB, free: 50.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5026, allocations: 6.438 kB / 0.7117 GB, free: 50.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.503, allocations: 79.09 kB / 0.7117 GB, free: 50.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.503, allocations: 2.344 kB / 0.7117 GB, free: 50.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.5031, allocations: 22.48 kB / 0.7118 GB, free: 50.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.5031, allocations: 8.281 kB / 0.7118 GB, free: 50.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5031, allocations: 1.656 kB / 0.7118 GB, free: 50.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.5165, allocations: 5.247 MB / 0.7169 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.5168, allocations: 215 kB / 0.7171 GB, free: 47.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.5169, allocations: 10.14 kB / 0.7171 GB, free: 47.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.5174, allocations: 40 kB / 0.7171 GB, free: 47.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5175, allocations: 32.67 kB / 0.7172 GB, free: 47.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.5175, allocations: 23.97 kB / 0.7172 GB, free: 47.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007849/0.5183, allocations: 0.6084 MB / 0.7178 GB, free: 46.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/0.5183, allocations: 0 / 0.7178 GB, free: 46.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002599/0.5209, allocations: 0.789 MB / 0.7186 GB, free: 46.61 MB / 490.7 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 (39): * Single equations (assignments): 33 * 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.001033/0.522, allocations: 434.7 kB / 0.719 GB, free: 46.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.5238, allocations: 0.8535 MB / 0.7198 GB, free: 45.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5238, allocations: 1.062 kB / 0.7198 GB, free: 45.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.5243, allocations: 222 kB / 0.72 GB, free: 45.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.5264, allocations: 481.2 kB / 0.7205 GB, free: 45.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.5294, allocations: 2.217 MB / 0.7226 GB, free: 44.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.53, allocations: 1.064 MB / 0.7237 GB, free: 43.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009454/0.5309, allocations: 240.9 kB / 0.7239 GB, free: 43.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.5312, allocations: 89.14 kB / 0.724 GB, free: 43.08 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5312, allocations: 0 / 0.724 GB, free: 43.08 MB / 490.7 MB Notification: Performance of Templates: time 0.02839/0.5596, allocations: 22.05 MB / 0.7455 GB, free: 23.61 MB / 490.7 MB 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)