Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.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.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001445/0.001445, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8622/0.8622, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 70.62 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1739, allocations: 80.93 MB / 0.6654 GB, free: 5.723 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.PumpExample): time 0.03863/0.2126, allocations: 30.72 MB / 0.6953 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.2305, allocations: 10.29 MB / 0.7054 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.2326, allocations: 43.75 kB / 0.7054 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.2353, allocations: 0.7068 MB / 0.7061 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.2404, allocations: 1.531 MB / 0.7076 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.2442, allocations: 1.334 MB / 0.7089 GB, free: 8.961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005157/0.2494, allocations: 2.974 MB / 0.7118 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.2512, allocations: 0.8242 MB / 0.7126 GB, free: 5.133 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.2545, allocations: 1.208 MB / 0.7138 GB, free: 3.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.2561, allocations: 0.8011 MB / 0.7146 GB, free: 3.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003938/0.2565, allocations: 104 kB / 0.7147 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.2588, allocations: 0.7997 MB / 0.7155 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006276/0.2594, allocations: 374.6 kB / 0.7158 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.2607, allocations: 0.6064 MB / 0.7164 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.2651, allocations: 1.989 MB / 0.7184 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2651, allocations: 0 / 0.7184 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2651, allocations: 4 kB / 0.7184 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.336e-05/0.2652, allocations: 0 / 0.7184 GB, free: 15.24 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003769/0.2689, allocations: 1.567 MB / 0.7199 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.269, allocations: 13.11 kB / 0.7199 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.2702, allocations: 216 kB / 0.7201 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.2728, allocations: 1.059 MB / 0.7212 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/0.2729, allocations: 53.31 kB / 0.7212 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.273, allocations: 71.98 kB / 0.7213 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.2747, allocations: 0.7293 MB / 0.722 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.2747, allocations: 3.984 kB / 0.722 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.2748, allocations: 28 kB / 0.722 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.2748, allocations: 25.31 kB / 0.722 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.2762, allocations: 0.5321 MB / 0.7226 GB, free: 10.83 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.005632/0.2818, allocations: 3.183 MB / 0.7257 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.283, allocations: 424.5 kB / 0.7261 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.2835, allocations: 180.8 kB / 0.7262 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002514/0.286, allocations: 1.536 MB / 0.7277 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006093/0.2866, allocations: 252.8 kB / 0.728 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.334e-06/0.2866, allocations: 0 / 0.728 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001628/0.2882, allocations: 0.5859 MB / 0.7286 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.2883, allocations: 55.41 kB / 0.7286 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.2899, allocations: 0.9374 MB / 0.7295 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.29, allocations: 33.7 kB / 0.7296 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/0.2906, allocations: 0.5122 MB / 0.7301 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.2907, allocations: 138.8 kB / 0.7302 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.291, allocations: 130.2 kB / 0.7303 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2912, allocations: 326 kB / 0.7306 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.2917, allocations: 207.1 kB / 0.7308 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/0.2924, allocations: 411.8 kB / 0.7312 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.2936, allocations: 0.6041 MB / 0.7318 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.2936, allocations: 7.938 kB / 0.7318 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001636/0.2952, allocations: 0.7116 MB / 0.7325 GB, free: 12 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.2952, allocations: 12.16 kB / 0.7325 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/0.2953, allocations: 4.047 kB / 0.7325 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.2953, allocations: 12 kB / 0.7325 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.2959, allocations: 139.8 kB / 0.7327 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.2959, allocations: 15.88 kB / 0.7327 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.2967, allocations: 84.14 kB / 0.7328 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.2968, allocations: 31.98 kB / 0.7328 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007985/0.2976, allocations: 413.2 kB / 0.7332 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005923/0.2982, allocations: 391.8 kB / 0.7336 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009668/0.2992, allocations: 0.5614 MB / 0.7341 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.88e-06/0.2992, allocations: 0 / 0.7341 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001447/0.3006, allocations: 0.6649 MB / 0.7348 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3006, allocations: 12.06 kB / 0.7348 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3006, allocations: 8 kB / 0.7348 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3007, allocations: 12 kB / 0.7348 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.3012, allocations: 135.8 kB / 0.7349 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.3012, allocations: 15.94 kB / 0.7349 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.3019, allocations: 52.36 kB / 0.735 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/0.3019, allocations: 35.98 kB / 0.735 GB, free: 13.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * 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.0002637/0.3022, allocations: 216.1 kB / 0.7352 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.3024, allocations: 107.3 kB / 0.7353 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.304, allocations: 0.6047 MB / 0.7359 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.304, allocations: 7.984 kB / 0.7359 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.304, allocations: 0 / 0.7359 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/0.3051, allocations: 0.6703 MB / 0.7366 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.3081, allocations: 1.451 MB / 0.738 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.3081, allocations: 8 kB / 0.738 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.3085, allocations: 75.89 kB / 0.7381 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.3086, allocations: 4 kB / 0.7381 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.3086, allocations: 15.98 kB / 0.7381 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.3086, allocations: 4.125 kB / 0.7381 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3086, allocations: 4 kB / 0.7381 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.3104, allocations: 0.8877 MB / 0.739 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/0.3109, allocations: 232.3 kB / 0.7392 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.3111, allocations: 12 kB / 0.7392 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.3116, allocations: 19.97 kB / 0.7392 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.3117, allocations: 44.16 kB / 0.7393 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.3117, allocations: 23.92 kB / 0.7393 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001125/0.3129, allocations: 0.6429 MB / 0.7399 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3129, allocations: 0 / 0.7399 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001703/0.3146, allocations: 0.5378 MB / 0.7404 GB, free: 7.496 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.001161/0.3157, allocations: 368.9 kB / 0.7408 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.3177, allocations: 0.7484 MB / 0.7415 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3177, allocations: 0 / 0.7415 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.3182, allocations: 217 kB / 0.7417 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.3205, allocations: 0.5033 MB / 0.7422 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.3243, allocations: 1.827 MB / 0.744 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009167/0.3252, allocations: 1.072 MB / 0.7451 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.3255, allocations: 91.34 kB / 0.7451 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.3255, allocations: 0 / 0.7451 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of Templates: time 0.3663/0.6918, allocations: 18.37 MB / 0.7631 GB, free: 72.84 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)