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.008259/0.008259, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001804/0.001804, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7899/0.7899, allocations: 135.1 MB / 425.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.91 kB / 0.5856 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1681, allocations: 80.92 MB / 0.6646 GB, free: 5.816 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.02943/0.1976, allocations: 30.67 MB / 0.6946 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.212, allocations: 10.28 MB / 0.7046 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.2138, allocations: 43.75 kB / 0.7047 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.2162, allocations: 0.6991 MB / 0.7053 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004281/0.2205, allocations: 1.523 MB / 0.7068 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.2238, allocations: 1.33 MB / 0.7081 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004049/0.2278, allocations: 2.989 MB / 0.711 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.2294, allocations: 0.9686 MB / 0.712 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.2322, allocations: 1.189 MB / 0.7132 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.2335, allocations: 0.805 MB / 0.7139 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.2338, allocations: 104 kB / 0.714 GB, free: 3.047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.2357, allocations: 0.8075 MB / 0.7148 GB, free: 2.238 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.2362, allocations: 354.9 kB / 0.7152 GB, free: 1.891 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009379/0.2371, allocations: 0.6064 MB / 0.7158 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.2401, allocations: 1.982 MB / 0.7177 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2401, allocations: 4 kB / 0.7177 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2401, allocations: 0 / 0.7177 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.742e-05/0.2402, allocations: 0 / 0.7177 GB, free: 15.29 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.003004/0.2432, allocations: 1.53 MB / 0.7192 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2433, allocations: 13.05 kB / 0.7192 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.2444, allocations: 215.2 kB / 0.7194 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.2466, allocations: 1.042 MB / 0.7204 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.2466, allocations: 53.31 kB / 0.7205 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.2468, allocations: 75.98 kB / 0.7205 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.2482, allocations: 0.7293 MB / 0.7213 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.2483, allocations: 3.938 kB / 0.7213 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.2484, allocations: 28 kB / 0.7213 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.2484, allocations: 25.31 kB / 0.7213 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.2496, allocations: 0.5321 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.004186/0.2538, allocations: 3.179 MB / 0.7249 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.2548, allocations: 438.5 kB / 0.7254 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.2552, allocations: 196.8 kB / 0.7255 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/0.2569, allocations: 1.536 MB / 0.727 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004741/0.2574, allocations: 244.2 kB / 0.7273 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.384e-06/0.2574, allocations: 0 / 0.7273 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001272/0.2587, allocations: 0.586 MB / 0.7278 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.2587, allocations: 59.39 kB / 0.7279 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2598, allocations: 0.9374 MB / 0.7288 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.2599, allocations: 37.7 kB / 0.7289 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.2603, allocations: 0.4919 MB / 0.7293 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2604, allocations: 130.2 kB / 0.7295 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.2606, allocations: 130.1 kB / 0.7296 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2607, allocations: 330 kB / 0.7299 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.2611, allocations: 199.1 kB / 0.7301 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.2616, allocations: 423.7 kB / 0.7305 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.2626, allocations: 0.5963 MB / 0.7311 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2626, allocations: 0 / 0.7311 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001248/0.2639, allocations: 0.7189 MB / 0.7318 GB, free: 108 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2639, allocations: 8 kB / 0.7318 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2639, allocations: 8 kB / 0.7318 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2639, allocations: 8 kB / 0.7318 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.2645, allocations: 143.7 kB / 0.7319 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.2645, allocations: 15.92 kB / 0.732 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.265, allocations: 80.02 kB / 0.732 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.2651, allocations: 35.98 kB / 0.7321 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005856/0.2657, allocations: 413.3 kB / 0.7325 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004614/0.2662, allocations: 391.8 kB / 0.7328 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007632/0.267, allocations: 0.5614 MB / 0.7334 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.267, allocations: 3.938 kB / 0.7334 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001061/0.268, allocations: 0.6605 MB / 0.734 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2681, allocations: 11.94 kB / 0.734 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2681, allocations: 8 kB / 0.734 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.2681, allocations: 8 kB / 0.7341 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.2686, allocations: 139.7 kB / 0.7342 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2686, allocations: 12 kB / 0.7342 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.2691, allocations: 56.25 kB / 0.7343 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.2691, allocations: 28 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.0001648/0.2693, allocations: 224.1 kB / 0.7345 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.2694, allocations: 98.72 kB / 0.7346 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.2707, allocations: 0.6084 MB / 0.7352 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.2707, allocations: 4 kB / 0.7352 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2707, allocations: 4 kB / 0.7352 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009222/0.2716, allocations: 0.6702 MB / 0.7358 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.2737, allocations: 1.447 MB / 0.7373 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2737, allocations: 0 / 0.7373 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.2741, allocations: 83.88 kB / 0.7373 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2741, allocations: 4 kB / 0.7373 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.2742, allocations: 20.11 kB / 0.7374 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2742, allocations: 4 kB / 0.7374 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2742, allocations: 0 / 0.7374 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.2756, allocations: 0.8754 MB / 0.7382 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.2759, allocations: 227.8 kB / 0.7384 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.276, allocations: 15.98 kB / 0.7385 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.2765, allocations: 23.98 kB / 0.7385 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.2766, allocations: 40.16 kB / 0.7385 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.2766, allocations: 19.98 kB / 0.7385 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007696/0.2774, allocations: 0.6468 MB / 0.7392 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2774, allocations: 0 / 0.7392 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001391/0.2788, allocations: 0.5223 MB / 0.7397 GB, free: 7.621 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.0008223/0.2796, allocations: 375.5 kB / 0.74 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.2812, allocations: 0.7874 MB / 0.7408 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2812, allocations: 0 / 0.7408 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.2816, allocations: 225.1 kB / 0.741 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.2834, allocations: 0.5052 MB / 0.7415 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.2861, allocations: 1.738 MB / 0.7432 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.2867, allocations: 1.076 MB / 0.7443 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000753/0.2875, allocations: 248.1 kB / 0.7445 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.2877, allocations: 87.41 kB / 0.7446 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2877, allocations: 0 / 0.7446 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of Templates: time 0.3804/0.6681, allocations: 20.43 MB / 0.7645 GB, free: 73.15 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)