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.007646/0.007646, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001634/0.001634, allocations: 187.3 kB / 16.67 MB, free: 6.391 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7797/0.7797, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.67 kB / 0.5813 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.186, allocations: 80.21 MB / 0.6597 GB, free: 13.54 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.0306/0.2167, allocations: 30.69 MB / 0.6896 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.2314, allocations: 10.27 MB / 0.6996 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.2334, allocations: 43.75 kB / 0.6997 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.2358, allocations: 0.6991 MB / 0.7004 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005147/0.241, allocations: 1.518 MB / 0.7019 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.2442, allocations: 1.337 MB / 0.7032 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004597/0.2488, allocations: 2.977 MB / 0.7061 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.2503, allocations: 0.9726 MB / 0.707 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.2533, allocations: 1.194 MB / 0.7082 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.2544, allocations: 0.8089 MB / 0.709 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.2545, allocations: 104 kB / 0.7091 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.2563, allocations: 0.8113 MB / 0.7099 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003899/0.2567, allocations: 354.9 kB / 0.7102 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006857/0.2574, allocations: 0.6064 MB / 0.7108 GB, free: 9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.2609, allocations: 1.978 MB / 0.7127 GB, free: 7.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.2609, allocations: 3.984 kB / 0.7127 GB, free: 7.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2609, allocations: 0 / 0.7127 GB, free: 7.012 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.2609, allocations: 0 / 0.7127 GB, free: 7.012 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.002716/0.2637, allocations: 1.53 MB / 0.7142 GB, free: 5.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2637, allocations: 8.031 kB / 0.7142 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000991/0.2647, allocations: 215.2 kB / 0.7144 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.2666, allocations: 1.05 MB / 0.7155 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.2667, allocations: 49.31 kB / 0.7155 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.2668, allocations: 72 kB / 0.7156 GB, free: 3.996 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.268, allocations: 0.7293 MB / 0.7163 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.2681, allocations: 3.906 kB / 0.7163 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.2681, allocations: 24 kB / 0.7163 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.2682, allocations: 29.3 kB / 0.7163 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.2692, allocations: 0.536 MB / 0.7169 GB, free: 2.648 MB / 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.003899/0.2731, allocations: 3.163 MB / 0.72 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.2742, allocations: 446.2 kB / 0.7204 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.2746, allocations: 196.8 kB / 0.7206 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001881/0.2765, allocations: 1.54 MB / 0.7221 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/0.277, allocations: 248.1 kB / 0.7223 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.277, allocations: 0 / 0.7223 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001349/0.2784, allocations: 0.5863 MB / 0.7229 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.2784, allocations: 55.41 kB / 0.7229 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.2797, allocations: 0.9335 MB / 0.7239 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.2797, allocations: 37.7 kB / 0.7239 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.2802, allocations: 0.4958 MB / 0.7244 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2803, allocations: 130.2 kB / 0.7245 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.2805, allocations: 130 kB / 0.7246 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2806, allocations: 338 kB / 0.7249 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.2811, allocations: 203.1 kB / 0.7251 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.2816, allocations: 415.8 kB / 0.7255 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.2826, allocations: 0.6048 MB / 0.7261 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2826, allocations: 0 / 0.7261 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001334/0.2839, allocations: 0.7 MB / 0.7268 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.284, allocations: 8 kB / 0.7268 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.284, allocations: 8.656 kB / 0.7268 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.284, allocations: 8 kB / 0.7268 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.2846, allocations: 147.8 kB / 0.727 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.2846, allocations: 11.94 kB / 0.727 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.2852, allocations: 87.84 kB / 0.7271 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.2852, allocations: 28 kB / 0.7271 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006365/0.2859, allocations: 413.2 kB / 0.7275 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004945/0.2864, allocations: 391.8 kB / 0.7279 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008086/0.2872, allocations: 0.5614 MB / 0.7284 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.2872, allocations: 0 / 0.7284 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001089/0.2883, allocations: 0.6598 MB / 0.7291 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2884, allocations: 11.94 kB / 0.7291 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.2884, allocations: 8.719 kB / 0.7291 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.2884, allocations: 8 kB / 0.7291 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.2889, allocations: 135.8 kB / 0.7292 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2889, allocations: 19.92 kB / 0.7292 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.2894, allocations: 52.27 kB / 0.7293 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.2894, allocations: 35.98 kB / 0.7293 GB, free: 5.098 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.0001878/0.2896, allocations: 220.9 kB / 0.7295 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2898, allocations: 102.7 kB / 0.7296 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.2911, allocations: 0.6085 MB / 0.7302 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.2911, allocations: 8 kB / 0.7302 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2911, allocations: 0 / 0.7302 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009305/0.292, allocations: 0.6741 MB / 0.7309 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.2942, allocations: 1.444 MB / 0.7323 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2943, allocations: 0 / 0.7323 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.2947, allocations: 83.88 kB / 0.7324 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.2947, allocations: 4 kB / 0.7324 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.2947, allocations: 11.98 kB / 0.7324 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.2948, allocations: 4 kB / 0.7324 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2948, allocations: 0 / 0.7324 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.2962, allocations: 0.8833 MB / 0.7333 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/0.2965, allocations: 227.8 kB / 0.7335 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-05/0.2966, allocations: 12 kB / 0.7335 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.297, allocations: 19.92 kB / 0.7335 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.2971, allocations: 36.22 kB / 0.7335 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.2972, allocations: 19.98 kB / 0.7336 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007634/0.2979, allocations: 0.6622 MB / 0.7342 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2979, allocations: 0 / 0.7342 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001412/0.2994, allocations: 0.5223 MB / 0.7347 GB, free: 15.35 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.0008016/0.3002, allocations: 368 kB / 0.7351 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.3017, allocations: 0.7849 MB / 0.7358 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3017, allocations: 0 / 0.7358 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.3022, allocations: 235.6 kB / 0.7361 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.304, allocations: 0.5017 MB / 0.7365 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.3067, allocations: 1.74 MB / 0.7382 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.3074, allocations: 1.076 MB / 0.7393 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007885/0.3082, allocations: 252.1 kB / 0.7395 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.3084, allocations: 87.28 kB / 0.7396 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.3084, allocations: 0 / 0.7396 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of Templates: time 0.03495/0.3433, allocations: 20.43 MB / 0.7596 GB, free: 6.156 MB / 0.5919 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)