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.005711/0.005711, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001156/0.001156, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.75/0.75, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.62 kB / 0.5813 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.188, allocations: 80.21 MB / 0.6597 GB, free: 13.49 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.03301/0.2211, allocations: 30.58 MB / 0.6895 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.2356, allocations: 10.21 MB / 0.6995 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.2375, allocations: 43.75 kB / 0.6995 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.2397, allocations: 0.6953 MB / 0.7002 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.2437, allocations: 1.495 MB / 0.7017 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.2469, allocations: 1.316 MB / 0.703 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004/0.2509, allocations: 2.896 MB / 0.7058 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.2526, allocations: 0.9215 MB / 0.7067 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.2555, allocations: 1.166 MB / 0.7078 GB, free: 12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.2569, allocations: 0.7661 MB / 0.7086 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.2572, allocations: 96 kB / 0.7087 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.2593, allocations: 0.8034 MB / 0.7095 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005051/0.2598, allocations: 331 kB / 0.7098 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.2609, allocations: 0.5831 MB / 0.7103 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.2642, allocations: 1.893 MB / 0.7122 GB, free: 7.527 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2642, allocations: 0 / 0.7122 GB, free: 7.527 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2643, allocations: 0 / 0.7122 GB, free: 7.527 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.737e-05/0.2643, allocations: 4 kB / 0.7122 GB, free: 7.523 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.003225/0.2675, allocations: 1.497 MB / 0.7137 GB, free: 5.969 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2676, allocations: 8.031 kB / 0.7137 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.2686, allocations: 203.4 kB / 0.7139 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.2705, allocations: 1.003 MB / 0.7148 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.2706, allocations: 53.3 kB / 0.7149 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2707, allocations: 64 kB / 0.715 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.272, allocations: 0.6981 MB / 0.7156 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.2721, allocations: 0 / 0.7156 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.2721, allocations: 28 kB / 0.7157 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.2722, allocations: 12 kB / 0.7157 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.2733, allocations: 0.5203 MB / 0.7162 GB, free: 3.312 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.00421/0.2776, allocations: 3.078 MB / 0.7192 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/0.2785, allocations: 374.7 kB / 0.7195 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/0.2789, allocations: 188.7 kB / 0.7197 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/0.2809, allocations: 1.489 MB / 0.7212 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005705/0.2815, allocations: 236.5 kB / 0.7214 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.464e-06/0.2815, allocations: 0 / 0.7214 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001551/0.283, allocations: 0.5435 MB / 0.7219 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.2831, allocations: 67.28 kB / 0.722 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.2844, allocations: 0.9033 MB / 0.7229 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.2844, allocations: 33.7 kB / 0.7229 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005588/0.285, allocations: 495.7 kB / 0.7234 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2851, allocations: 102.5 kB / 0.7235 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.2853, allocations: 130.1 kB / 0.7236 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2855, allocations: 326 kB / 0.7239 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.286, allocations: 195 kB / 0.7241 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007674/0.2868, allocations: 402.3 kB / 0.7245 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.2879, allocations: 0.5952 MB / 0.7251 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2879, allocations: 3.938 kB / 0.7251 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001501/0.2894, allocations: 0.7067 MB / 0.7258 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.2895, allocations: 37.86 kB / 0.7258 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2895, allocations: 8 kB / 0.7258 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.2895, allocations: 11.94 kB / 0.7258 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.2901, allocations: 127.7 kB / 0.7259 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.2901, allocations: 11.94 kB / 0.726 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.2908, allocations: 76 kB / 0.726 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/0.2908, allocations: 31.98 kB / 0.7261 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007462/0.2916, allocations: 401.1 kB / 0.7264 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000513/0.2921, allocations: 374.3 kB / 0.7268 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008722/0.293, allocations: 0.5425 MB / 0.7273 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.114e-06/0.293, allocations: 4 kB / 0.7273 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001342/0.2944, allocations: 0.6544 MB / 0.728 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.2944, allocations: 41.7 kB / 0.728 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2944, allocations: 4 kB / 0.728 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.2944, allocations: 8 kB / 0.728 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.2949, allocations: 119.8 kB / 0.7281 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.2949, allocations: 19.86 kB / 0.7282 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.2954, allocations: 60.23 kB / 0.7282 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.2955, allocations: 27.98 kB / 0.7282 GB, free: 6.137 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.0002083/0.2957, allocations: 223.1 kB / 0.7284 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.2959, allocations: 90.88 kB / 0.7285 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.2972, allocations: 0.5753 MB / 0.7291 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.2973, allocations: 11.94 kB / 0.7291 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2973, allocations: 4 kB / 0.7291 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009815/0.2983, allocations: 0.6464 MB / 0.7297 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.3007, allocations: 1.36 MB / 0.7311 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3008, allocations: 0 / 0.7311 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.3011, allocations: 80.02 kB / 0.7311 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3012, allocations: 0 / 0.7311 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.3012, allocations: 11.98 kB / 0.7312 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3012, allocations: 4 kB / 0.7312 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3012, allocations: 7.938 kB / 0.7312 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.3028, allocations: 0.8352 MB / 0.732 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.3032, allocations: 215.9 kB / 0.7322 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.3034, allocations: 8 kB / 0.7322 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.3038, allocations: 27.91 kB / 0.7322 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.304, allocations: 28.25 kB / 0.7323 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.304, allocations: 19.98 kB / 0.7323 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009101/0.3049, allocations: 0.6219 MB / 0.7329 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3049, allocations: 4.062 kB / 0.7329 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001472/0.3064, allocations: 0.4951 MB / 0.7334 GB, free: 0.668 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.0009768/0.3074, allocations: 374.5 kB / 0.7337 GB, free: 308 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.3093, allocations: 0.8634 MB / 0.7346 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3093, allocations: 0.625 kB / 0.7346 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004998/0.3098, allocations: 219.9 kB / 0.7348 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.3117, allocations: 491.5 kB / 0.7352 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.3147, allocations: 1.597 MB / 0.7368 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.3154, allocations: 1.052 MB / 0.7378 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008457/0.3163, allocations: 223.2 kB / 0.738 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.3165, allocations: 87.39 kB / 0.7381 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.3165, allocations: 0 / 0.7381 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.03467/0.3512, allocations: 20.12 MB / 0.7578 GB, free: 7.891 MB / 0.5919 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)