Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00596/0.00596, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001242/0.001242, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.812/0.812, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 61.78 kB / 0.5813 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 80.22 MB / 0.6597 GB, free: 10.25 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.03155/0.1806, allocations: 30.67 MB / 0.6896 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.1958, allocations: 10.28 MB / 0.6996 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.1976, allocations: 43.75 kB / 0.6997 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.2002, allocations: 0.6991 MB / 0.7004 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004463/0.2047, allocations: 1.52 MB / 0.7019 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.2081, allocations: 1.337 MB / 0.7032 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004649/0.2128, allocations: 2.978 MB / 0.7061 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.2146, allocations: 0.9725 MB / 0.707 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.2179, allocations: 1.195 MB / 0.7082 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.2196, allocations: 0.7973 MB / 0.709 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00036/0.22, allocations: 107.9 kB / 0.7091 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.2221, allocations: 0.8114 MB / 0.7099 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005357/0.2227, allocations: 350.9 kB / 0.7102 GB, free: 6.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.2241, allocations: 0.6142 MB / 0.7108 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.228, allocations: 1.978 MB / 0.7127 GB, free: 3.738 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.228, allocations: 0 / 0.7127 GB, free: 3.738 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.228, allocations: 0 / 0.7127 GB, free: 3.738 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.018e-05/0.2281, allocations: 4 kB / 0.7127 GB, free: 3.734 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003873/0.2319, allocations: 1.53 MB / 0.7142 GB, free: 2.152 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.232, allocations: 8.031 kB / 0.7142 GB, free: 2.145 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.2333, allocations: 215.3 kB / 0.7144 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.2358, allocations: 1.042 MB / 0.7155 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.2359, allocations: 53.31 kB / 0.7155 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.236, allocations: 71.91 kB / 0.7156 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.2376, allocations: 0.7294 MB / 0.7163 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.2377, allocations: 3.984 kB / 0.7163 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/0.2378, allocations: 31.94 kB / 0.7163 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.2378, allocations: 21.31 kB / 0.7163 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.2391, allocations: 0.536 MB / 0.7169 GB, free: 15.38 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.004759/0.2439, allocations: 3.171 MB / 0.72 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.2451, allocations: 446.4 kB / 0.7204 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.2456, allocations: 192.8 kB / 0.7206 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002064/0.2477, allocations: 1.544 MB / 0.7221 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005173/0.2482, allocations: 244.1 kB / 0.7223 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.2482, allocations: 0 / 0.7223 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001404/0.2496, allocations: 0.5824 MB / 0.7229 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.2497, allocations: 55.41 kB / 0.7229 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.2509, allocations: 0.9374 MB / 0.7239 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.251, allocations: 41.64 kB / 0.7239 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/0.2514, allocations: 0.4997 MB / 0.7244 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.2515, allocations: 126.2 kB / 0.7245 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.2517, allocations: 134 kB / 0.7246 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2518, allocations: 334 kB / 0.7249 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.2523, allocations: 199.1 kB / 0.7251 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.2529, allocations: 420.2 kB / 0.7255 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2539, allocations: 0.6013 MB / 0.7261 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2539, allocations: 0 / 0.7261 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001385/0.2553, allocations: 0.6996 MB / 0.7268 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2554, allocations: 8 kB / 0.7268 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.2554, allocations: 12.03 kB / 0.7268 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.2554, allocations: 8 kB / 0.7268 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.256, allocations: 147.7 kB / 0.727 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.256, allocations: 15.94 kB / 0.727 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.2567, allocations: 75.91 kB / 0.7271 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/0.2568, allocations: 35.98 kB / 0.7271 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006658/0.2574, allocations: 421.1 kB / 0.7275 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005164/0.258, allocations: 383.8 kB / 0.7279 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000818/0.2588, allocations: 0.5575 MB / 0.7284 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.2588, allocations: 0 / 0.7284 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001133/0.2599, allocations: 0.6597 MB / 0.7291 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.26, allocations: 12.75 kB / 0.7291 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.26, allocations: 8 kB / 0.7291 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.26, allocations: 12 kB / 0.7291 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.2605, allocations: 139.8 kB / 0.7292 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2605, allocations: 11.98 kB / 0.7292 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.2611, allocations: 52.27 kB / 0.7293 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.2611, allocations: 31.98 kB / 0.7293 GB, free: 1.816 MB / 0.5606 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.0001953/0.2613, allocations: 226.9 kB / 0.7295 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.2615, allocations: 102.7 kB / 0.7296 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.2628, allocations: 0.6006 MB / 0.7302 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.2628, allocations: 11.94 kB / 0.7302 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2629, allocations: 0 / 0.7302 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009512/0.2638, allocations: 0.6703 MB / 0.7309 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.2661, allocations: 1.455 MB / 0.7323 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2661, allocations: 3.938 kB / 0.7323 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/0.2665, allocations: 79.88 kB / 0.7324 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.2665, allocations: 4 kB / 0.7324 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.2666, allocations: 15.98 kB / 0.7324 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.2666, allocations: 4 kB / 0.7324 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2666, allocations: 0 / 0.7324 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.2681, allocations: 0.8795 MB / 0.7333 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.2684, allocations: 231.7 kB / 0.7335 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.2686, allocations: 12 kB / 0.7335 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.269, allocations: 19.98 kB / 0.7335 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-05/0.2691, allocations: 36.22 kB / 0.7335 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.2691, allocations: 23.92 kB / 0.7336 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008076/0.27, allocations: 0.6507 MB / 0.7342 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.27, allocations: 0 / 0.7342 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001443/0.2714, allocations: 0.5224 MB / 0.7347 GB, free: 12.07 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.000831/0.2723, allocations: 369.2 kB / 0.7351 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.2739, allocations: 0.7921 MB / 0.7358 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2739, allocations: 0 / 0.7358 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.2743, allocations: 227.7 kB / 0.7361 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.2764, allocations: 0.4994 MB / 0.7365 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.2791, allocations: 1.741 MB / 0.7382 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.2798, allocations: 1.076 MB / 0.7393 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000788/0.2806, allocations: 254.3 kB / 0.7395 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.2808, allocations: 83.41 kB / 0.7396 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.2808, allocations: 4 kB / 0.7396 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of Templates: time 0.3671/0.6479, allocations: 20.42 MB / 0.7596 GB, free: 80.02 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)