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.008012/0.008012, allocations: 104.5 kB / 15.74 MB, free: 5.984 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.001848/0.001849, allocations: 199.1 kB / 16.68 MB, free: 5.91 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: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.839/0.839, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.91 kB / 0.5856 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.166, allocations: 80.92 MB / 0.6646 GB, free: 5.809 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.03365/0.1997, allocations: 30.68 MB / 0.6946 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01529/0.215, allocations: 10.27 MB / 0.7046 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.2166, allocations: 43.75 kB / 0.7047 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.2189, allocations: 0.6952 MB / 0.7053 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.2232, allocations: 1.528 MB / 0.7068 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.2265, allocations: 1.334 MB / 0.7081 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004196/0.2307, allocations: 2.978 MB / 0.711 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.2324, allocations: 0.9687 MB / 0.712 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.2353, allocations: 1.195 MB / 0.7132 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.2367, allocations: 0.805 MB / 0.7139 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002992/0.237, allocations: 104 kB / 0.714 GB, free: 3.043 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.239, allocations: 0.8113 MB / 0.7148 GB, free: 2.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004902/0.2395, allocations: 358.8 kB / 0.7152 GB, free: 1.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.2405, allocations: 0.6142 MB / 0.7158 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003224/0.2437, allocations: 1.971 MB / 0.7177 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2437, allocations: 0 / 0.7177 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2437, allocations: 0 / 0.7177 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.761e-05/0.2438, allocations: 4 kB / 0.7177 GB, free: 15.28 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.00326/0.2471, allocations: 1.53 MB / 0.7192 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2471, allocations: 9.109 kB / 0.7192 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.2482, allocations: 215.2 kB / 0.7194 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.2504, allocations: 1.054 MB / 0.7204 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.2505, allocations: 49.31 kB / 0.7205 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.2506, allocations: 72 kB / 0.7206 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.2521, allocations: 0.7293 MB / 0.7213 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.2521, allocations: 0 / 0.7213 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.2522, allocations: 28 kB / 0.7213 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.2522, allocations: 21.31 kB / 0.7213 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.2535, allocations: 0.5359 MB / 0.7218 GB, free: 10.92 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.00469/0.2582, allocations: 3.175 MB / 0.7249 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.2593, allocations: 440.4 kB / 0.7254 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/0.2598, allocations: 192.8 kB / 0.7255 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/0.2619, allocations: 1.54 MB / 0.727 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005689/0.2624, allocations: 256.1 kB / 0.7273 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.194e-06/0.2625, allocations: 0 / 0.7273 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001438/0.2639, allocations: 0.5782 MB / 0.7279 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.264, allocations: 59.41 kB / 0.7279 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.2652, allocations: 0.9374 MB / 0.7288 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.2653, allocations: 37.7 kB / 0.7289 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.2658, allocations: 0.4958 MB / 0.7293 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.2659, allocations: 130.2 kB / 0.7295 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.2661, allocations: 126.1 kB / 0.7296 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2663, allocations: 334 kB / 0.7299 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.2667, allocations: 199.1 kB / 0.7301 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.2674, allocations: 419.7 kB / 0.7305 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2684, allocations: 0.6002 MB / 0.7311 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.2684, allocations: 0 / 0.7311 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001418/0.2699, allocations: 0.711 MB / 0.7318 GB, free: 108 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2699, allocations: 9.875 kB / 0.7318 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.2699, allocations: 8 kB / 0.7318 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.27, allocations: 11.94 kB / 0.7318 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.2706, allocations: 143.8 kB / 0.7319 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.2706, allocations: 19.92 kB / 0.732 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.2713, allocations: 76.14 kB / 0.732 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.2714, allocations: 35.98 kB / 0.7321 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006802/0.2721, allocations: 413.2 kB / 0.7325 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005262/0.2726, allocations: 391.8 kB / 0.7328 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008408/0.2734, allocations: 0.5613 MB / 0.7334 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/0.2735, allocations: 0 / 0.7334 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001254/0.2747, allocations: 0.6564 MB / 0.734 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2747, allocations: 11.94 kB / 0.734 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2748, allocations: 8 kB / 0.734 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2748, allocations: 8 kB / 0.7341 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.2753, allocations: 139.8 kB / 0.7342 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.2753, allocations: 11.94 kB / 0.7342 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.2759, allocations: 60.53 kB / 0.7343 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.276, allocations: 32 kB / 0.7343 GB, free: 13.35 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.0001993/0.2762, allocations: 216.1 kB / 0.7345 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.2763, allocations: 102.7 kB / 0.7346 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.2777, allocations: 0.6124 MB / 0.7352 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.2777, allocations: 8 kB / 0.7352 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2777, allocations: 0 / 0.7352 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009972/0.2787, allocations: 0.6664 MB / 0.7358 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.2811, allocations: 1.447 MB / 0.7373 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2811, allocations: 4 kB / 0.7373 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.2816, allocations: 80 kB / 0.7373 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.2816, allocations: 8 kB / 0.7373 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.2816, allocations: 15.98 kB / 0.7374 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.2817, allocations: 4 kB / 0.7374 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2817, allocations: 3.938 kB / 0.7374 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.2833, allocations: 0.8754 MB / 0.7382 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/0.2836, allocations: 227.8 kB / 0.7384 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.2838, allocations: 12 kB / 0.7385 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.2842, allocations: 27.92 kB / 0.7385 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.2843, allocations: 36.16 kB / 0.7385 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.2844, allocations: 19.98 kB / 0.7385 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008762/0.2853, allocations: 0.6468 MB / 0.7392 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2853, allocations: 0 / 0.7392 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0015/0.2868, allocations: 0.5262 MB / 0.7397 GB, free: 7.617 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.0009245/0.2877, allocations: 375.2 kB / 0.74 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.2894, allocations: 0.779 MB / 0.7408 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2895, allocations: 5.75 kB / 0.7408 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.29, allocations: 232 kB / 0.741 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.2922, allocations: 0.4962 MB / 0.7415 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.2954, allocations: 1.742 MB / 0.7432 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/0.2961, allocations: 1.076 MB / 0.7443 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008947/0.297, allocations: 260 kB / 0.7445 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.2973, allocations: 83.41 kB / 0.7446 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.2973, allocations: 0 / 0.7446 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of Templates: time 0.3383/0.6356, allocations: 20.43 MB / 0.7645 GB, free: 73 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)