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.006643/0.006643, allocations: 108.3 kB / 15.74 MB, free: 6.055 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.001471/0.001471, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.407/1.407, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8278/0.8278, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 65.44 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1743, allocations: 80.93 MB / 0.6646 GB, free: 5.789 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.03147/0.2058, allocations: 30.58 MB / 0.6945 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.2217, allocations: 10.22 MB / 0.7045 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.2246, allocations: 47.75 kB / 0.7045 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.2274, allocations: 0.6914 MB / 0.7052 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005062/0.2325, allocations: 1.489 MB / 0.7066 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.2364, allocations: 1.314 MB / 0.7079 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005165/0.2415, allocations: 2.894 MB / 0.7107 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.2436, allocations: 0.9176 MB / 0.7116 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.247, allocations: 1.174 MB / 0.7128 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.2487, allocations: 0.7583 MB / 0.7135 GB, free: 3.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.249, allocations: 96 kB / 0.7136 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.2516, allocations: 0.8035 MB / 0.7144 GB, free: 2.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000614/0.2523, allocations: 331 kB / 0.7147 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.2538, allocations: 0.5831 MB / 0.7153 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004592/0.2584, allocations: 1.889 MB / 0.7171 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.2584, allocations: 7.984 kB / 0.7171 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.941e-06/0.2584, allocations: 0 / 0.7171 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.919e-05/0.2585, allocations: 7.875 kB / 0.7172 GB, free: 15.82 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.004389/0.2629, allocations: 1.485 MB / 0.7186 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/0.263, allocations: 17.11 kB / 0.7186 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.2643, allocations: 199.3 kB / 0.7188 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.2666, allocations: 1.011 MB / 0.7198 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/0.2667, allocations: 53.3 kB / 0.7198 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.2668, allocations: 64 kB / 0.7199 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.2683, allocations: 0.702 MB / 0.7206 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.2684, allocations: 4 kB / 0.7206 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.2685, allocations: 24 kB / 0.7206 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.2685, allocations: 16 kB / 0.7206 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.2698, allocations: 0.5165 MB / 0.7211 GB, free: 11.6 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.004733/0.2745, allocations: 3.078 MB / 0.7241 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009775/0.2755, allocations: 368.7 kB / 0.7245 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.276, allocations: 196.7 kB / 0.7247 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002048/0.278, allocations: 1.477 MB / 0.7261 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000578/0.2786, allocations: 247.4 kB / 0.7264 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.2786, allocations: 0 / 0.7264 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001434/0.2801, allocations: 0.5315 MB / 0.7269 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.2801, allocations: 63.33 kB / 0.7269 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.2813, allocations: 0.8994 MB / 0.7278 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.2813, allocations: 37.7 kB / 0.7279 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.2817, allocations: 491.8 kB / 0.7283 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2818, allocations: 114.4 kB / 0.7284 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.282, allocations: 122.1 kB / 0.7286 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2821, allocations: 330 kB / 0.7289 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.2826, allocations: 198.9 kB / 0.7291 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.2832, allocations: 398.1 kB / 0.7294 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.2843, allocations: 0.6023 MB / 0.73 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2843, allocations: 0 / 0.73 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001432/0.2857, allocations: 0.7109 MB / 0.7307 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.2858, allocations: 33.7 kB / 0.7308 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2858, allocations: 7.938 kB / 0.7308 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.2858, allocations: 8 kB / 0.7308 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.2863, allocations: 131.7 kB / 0.7309 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.2864, allocations: 11.98 kB / 0.7309 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/0.287, allocations: 72.14 kB / 0.731 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.287, allocations: 31.98 kB / 0.731 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006498/0.2877, allocations: 401 kB / 0.7314 GB, free: 476 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005198/0.2882, allocations: 382.3 kB / 0.7317 GB, free: 4 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008984/0.2891, allocations: 0.5424 MB / 0.7323 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.516e-06/0.2892, allocations: 0 / 0.7323 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001289/0.2905, allocations: 0.658 MB / 0.7329 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.2905, allocations: 35.58 kB / 0.733 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2905, allocations: 8 kB / 0.733 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2905, allocations: 8 kB / 0.733 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.291, allocations: 119.8 kB / 0.7331 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.291, allocations: 15.94 kB / 0.7331 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.2916, allocations: 60.41 kB / 0.7332 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.2916, allocations: 36 kB / 0.7332 GB, free: 14.42 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.000206/0.2919, allocations: 216 kB / 0.7334 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.292, allocations: 86.88 kB / 0.7335 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.2934, allocations: 0.5801 MB / 0.734 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.2934, allocations: 7.938 kB / 0.7341 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2934, allocations: 0 / 0.7341 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/0.2945, allocations: 0.6424 MB / 0.7347 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.2968, allocations: 1.363 MB / 0.736 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2968, allocations: 128 / 0.736 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.2972, allocations: 79.94 kB / 0.7361 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.2972, allocations: 4 kB / 0.7361 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.2973, allocations: 8 kB / 0.7361 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.2973, allocations: 16.02 kB / 0.7361 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2973, allocations: 0 / 0.7361 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.2989, allocations: 0.82 MB / 0.7369 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.2993, allocations: 219.8 kB / 0.7371 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.2994, allocations: 11.94 kB / 0.7371 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.2999, allocations: 27.91 kB / 0.7372 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.3, allocations: 36.17 kB / 0.7372 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.3, allocations: 15.98 kB / 0.7372 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00086/0.3009, allocations: 0.6258 MB / 0.7378 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3009, allocations: 0 / 0.7378 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001494/0.3024, allocations: 0.5029 MB / 0.7383 GB, free: 8.961 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.0009605/0.3034, allocations: 372.4 kB / 0.7387 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.3052, allocations: 0.8564 MB / 0.7395 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3052, allocations: 0 / 0.7395 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.3058, allocations: 227.9 kB / 0.7397 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.3078, allocations: 0.493 MB / 0.7402 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.3109, allocations: 1.589 MB / 0.7418 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/0.3116, allocations: 1.056 MB / 0.7428 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008174/0.3124, allocations: 239.6 kB / 0.743 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.3126, allocations: 79.41 kB / 0.7431 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.3126, allocations: 0 / 0.7431 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.3723/0.685, allocations: 20.11 MB / 0.7627 GB, free: 74.23 MB / 0.5762 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)