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.001345/0.001345, allocations: 106.5 kB / 16.41 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.001415/0.001415, allocations: 187 kB / 17.34 MB, free: 5.75 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7863/0.7863, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 63.94 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1547, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.03449/0.1893, allocations: 30.58 MB / 0.6902 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.204, allocations: 10.21 MB / 0.7002 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.2059, allocations: 51.69 kB / 0.7002 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.2083, allocations: 0.6875 MB / 0.7009 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.2126, allocations: 1.45 MB / 0.7023 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.216, allocations: 1.302 MB / 0.7036 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00425/0.2202, allocations: 2.896 MB / 0.7064 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.2219, allocations: 0.9176 MB / 0.7073 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/0.2247, allocations: 1.172 MB / 0.7084 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.2262, allocations: 0.77 MB / 0.7092 GB, free: 8.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.2265, allocations: 96 kB / 0.7093 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.2285, allocations: 0.7957 MB / 0.7101 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004715/0.229, allocations: 331 kB / 0.7104 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009832/0.23, allocations: 0.5831 MB / 0.7109 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.2333, allocations: 1.893 MB / 0.7128 GB, free: 4.391 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2333, allocations: 0 / 0.7128 GB, free: 4.391 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2334, allocations: 0 / 0.7128 GB, free: 4.391 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.289e-05/0.2334, allocations: 3.984 kB / 0.7128 GB, free: 4.387 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.003287/0.2367, allocations: 1.497 MB / 0.7143 GB, free: 2.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2368, allocations: 8.031 kB / 0.7143 GB, free: 2.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.2379, allocations: 199.4 kB / 0.7144 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.24, allocations: 1.015 MB / 0.7154 GB, free: 1.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.24, allocations: 53.3 kB / 0.7155 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2402, allocations: 64 kB / 0.7156 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.2415, allocations: 0.702 MB / 0.7162 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.2415, allocations: 0 / 0.7162 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.386e-05/0.2416, allocations: 28 kB / 0.7163 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.2416, allocations: 20 kB / 0.7163 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.2428, allocations: 0.5087 MB / 0.7168 GB, free: 172 kB / 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.004941/0.2478, allocations: 3.086 MB / 0.7198 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009328/0.2487, allocations: 370.7 kB / 0.7201 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/0.2491, allocations: 184.8 kB / 0.7203 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/0.251, allocations: 1.489 MB / 0.7218 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005339/0.2515, allocations: 240.4 kB / 0.722 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.2515, allocations: 0 / 0.722 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001376/0.2529, allocations: 0.5434 MB / 0.7225 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.253, allocations: 67.33 kB / 0.7226 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.2541, allocations: 0.8956 MB / 0.7235 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.2542, allocations: 33.7 kB / 0.7235 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.2546, allocations: 499.7 kB / 0.724 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2547, allocations: 102.5 kB / 0.7241 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.2549, allocations: 126.1 kB / 0.7242 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.255, allocations: 326 kB / 0.7245 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/0.2555, allocations: 195 kB / 0.7247 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.2561, allocations: 402.8 kB / 0.7251 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2571, allocations: 0.5984 MB / 0.7257 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2571, allocations: 0 / 0.7257 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001423/0.2586, allocations: 0.7105 MB / 0.7264 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.2586, allocations: 37.64 kB / 0.7264 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2586, allocations: 8 kB / 0.7264 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.2587, allocations: 8 kB / 0.7264 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.2592, allocations: 127.7 kB / 0.7265 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.2592, allocations: 15.98 kB / 0.7266 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006118/0.2598, allocations: 72.3 kB / 0.7266 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.2599, allocations: 31.98 kB / 0.7267 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006193/0.2605, allocations: 397.1 kB / 0.727 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005031/0.261, allocations: 382.3 kB / 0.7274 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008389/0.2619, allocations: 0.5385 MB / 0.7279 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.172e-06/0.2619, allocations: 4 kB / 0.7279 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001178/0.2631, allocations: 0.6581 MB / 0.7286 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.2631, allocations: 37.7 kB / 0.7286 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2631, allocations: 4 kB / 0.7286 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.2631, allocations: 8 kB / 0.7286 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.2636, allocations: 123.8 kB / 0.7287 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2636, allocations: 11.94 kB / 0.7287 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.2641, allocations: 64.5 kB / 0.7288 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.2642, allocations: 24 kB / 0.7288 GB, free: 2.996 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.0001884/0.2644, allocations: 220 kB / 0.729 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.2645, allocations: 90.88 kB / 0.7291 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.2658, allocations: 0.5893 MB / 0.7297 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.2659, allocations: 11.94 kB / 0.7297 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2659, allocations: 0 / 0.7297 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009403/0.2668, allocations: 0.6387 MB / 0.7303 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.269, allocations: 1.36 MB / 0.7317 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.269, allocations: 4.031 kB / 0.7317 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.2694, allocations: 79.88 kB / 0.7317 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2694, allocations: 0 / 0.7317 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.2694, allocations: 12 kB / 0.7318 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2694, allocations: 3.938 kB / 0.7318 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.2694, allocations: 7.984 kB / 0.7318 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.2709, allocations: 0.8324 MB / 0.7326 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.2712, allocations: 215.8 kB / 0.7328 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.2713, allocations: 8 kB / 0.7328 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.2718, allocations: 27.91 kB / 0.7328 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.2719, allocations: 36.17 kB / 0.7329 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.272, allocations: 24.05 kB / 0.7329 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007637/0.2727, allocations: 0.618 MB / 0.7335 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2727, allocations: 0 / 0.7335 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00142/0.2742, allocations: 0.4951 MB / 0.734 GB, free: 13.52 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.0009271/0.2751, allocations: 369.4 kB / 0.7343 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.2768, allocations: 0.8601 MB / 0.7352 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2768, allocations: 4.062 kB / 0.7352 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.2773, allocations: 219.7 kB / 0.7354 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.2791, allocations: 0.5042 MB / 0.7359 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.2819, allocations: 1.638 MB / 0.7375 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.2826, allocations: 1.048 MB / 0.7385 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.2828, allocations: 91.39 kB / 0.7386 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.2828, allocations: 4 kB / 0.7386 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of Templates: time 0.3442/0.627, allocations: 17.76 MB / 0.7559 GB, free: 77.49 MB / 0.5762 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)