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.001655/0.001655, allocations: 106.9 kB / 16.41 MB, free: 6.5 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.001885/0.001886, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.38/1.38, allocations: 222.9 MB / 241 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.7981/0.7981, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 61.77 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1693, allocations: 80.92 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03135/0.2006, allocations: 30.68 MB / 0.6952 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.2154, allocations: 10.28 MB / 0.7053 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.2178, allocations: 43.75 kB / 0.7053 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.2204, allocations: 0.6952 MB / 0.706 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.2254, allocations: 1.481 MB / 0.7074 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.2291, allocations: 1.337 MB / 0.7088 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004536/0.2337, allocations: 2.974 MB / 0.7117 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.2353, allocations: 0.9647 MB / 0.7126 GB, free: 5.207 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.2383, allocations: 1.195 MB / 0.7138 GB, free: 4.008 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.2399, allocations: 0.8011 MB / 0.7145 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003488/0.2403, allocations: 104 kB / 0.7146 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.2425, allocations: 0.8114 MB / 0.7154 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005731/0.2431, allocations: 354.9 kB / 0.7158 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.2443, allocations: 0.6103 MB / 0.7164 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.2479, allocations: 1.978 MB / 0.7183 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2479, allocations: 0 / 0.7183 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2479, allocations: 0 / 0.7183 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.31e-05/0.248, allocations: 0 / 0.7183 GB, free: 15.34 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.003599/0.2516, allocations: 1.53 MB / 0.7198 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2516, allocations: 13.11 kB / 0.7198 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2527, allocations: 215.2 kB / 0.72 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.255, allocations: 1.046 MB / 0.721 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.2551, allocations: 53.31 kB / 0.7211 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.2552, allocations: 68 kB / 0.7212 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.2567, allocations: 0.7293 MB / 0.7219 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2567, allocations: 3.938 kB / 0.7219 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/0.2568, allocations: 31.98 kB / 0.7219 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.2568, allocations: 21.31 kB / 0.7219 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.258, allocations: 0.536 MB / 0.7224 GB, free: 10.98 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.004698/0.2627, allocations: 3.175 MB / 0.7255 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.2638, allocations: 445.9 kB / 0.726 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/0.2642, allocations: 196.8 kB / 0.7262 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002075/0.2663, allocations: 1.536 MB / 0.7277 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005173/0.2669, allocations: 252.2 kB / 0.7279 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.495e-06/0.2669, allocations: 0 / 0.7279 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001443/0.2683, allocations: 0.5821 MB / 0.7285 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.2684, allocations: 55.41 kB / 0.7285 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.2697, allocations: 0.9374 MB / 0.7294 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.2698, allocations: 37.7 kB / 0.7295 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.2702, allocations: 0.4958 MB / 0.73 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.2703, allocations: 130.2 kB / 0.7301 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.2705, allocations: 130.1 kB / 0.7302 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2707, allocations: 334 kB / 0.7305 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.2711, allocations: 203.1 kB / 0.7307 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.2717, allocations: 415.8 kB / 0.7311 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2727, allocations: 0.5963 MB / 0.7317 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.2727, allocations: 4 kB / 0.7317 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001408/0.2742, allocations: 0.7106 MB / 0.7324 GB, free: 164 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2742, allocations: 8 kB / 0.7324 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2742, allocations: 4 kB / 0.7324 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.2742, allocations: 8.594 kB / 0.7324 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.2748, allocations: 151.8 kB / 0.7326 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.2749, allocations: 11.94 kB / 0.7326 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.2755, allocations: 75.81 kB / 0.7326 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.2756, allocations: 31.98 kB / 0.7327 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006819/0.2763, allocations: 417.2 kB / 0.7331 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004861/0.2768, allocations: 391.8 kB / 0.7334 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008284/0.2776, allocations: 0.5614 MB / 0.734 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.533e-06/0.2776, allocations: 4 kB / 0.734 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001215/0.2789, allocations: 0.6521 MB / 0.7346 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2789, allocations: 15.92 kB / 0.7346 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.2789, allocations: 4 kB / 0.7347 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2789, allocations: 8.688 kB / 0.7347 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.2794, allocations: 143.8 kB / 0.7348 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.2794, allocations: 15.92 kB / 0.7348 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006041/0.2801, allocations: 56.27 kB / 0.7349 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/0.2801, allocations: 28 kB / 0.7349 GB, free: 13.41 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.0002213/0.2803, allocations: 224 kB / 0.7351 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.2805, allocations: 102.7 kB / 0.7352 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.2819, allocations: 0.6085 MB / 0.7358 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.2819, allocations: 8 kB / 0.7358 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2819, allocations: 0 / 0.7358 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000949/0.2829, allocations: 0.6703 MB / 0.7365 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.2854, allocations: 1.447 MB / 0.7379 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2854, allocations: 0 / 0.7379 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.2858, allocations: 87.86 kB / 0.738 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.2858, allocations: 0 / 0.738 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.2859, allocations: 19.98 kB / 0.738 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2859, allocations: 0 / 0.738 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2859, allocations: 4 kB / 0.738 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.2874, allocations: 0.8833 MB / 0.7388 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/0.2878, allocations: 223.8 kB / 0.7391 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.288, allocations: 12 kB / 0.7391 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.2885, allocations: 19.98 kB / 0.7391 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.2886, allocations: 36.22 kB / 0.7391 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.2886, allocations: 19.98 kB / 0.7391 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008686/0.2895, allocations: 0.6545 MB / 0.7398 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2895, allocations: 0 / 0.7398 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001548/0.2911, allocations: 0.5223 MB / 0.7403 GB, free: 7.672 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.0009784/0.292, allocations: 377.4 kB / 0.7406 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.2938, allocations: 0.7844 MB / 0.7414 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2938, allocations: 4.125 kB / 0.7414 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.2943, allocations: 227.8 kB / 0.7416 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.2965, allocations: 0.5001 MB / 0.7421 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.2998, allocations: 1.79 MB / 0.7439 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/0.3006, allocations: 1.076 MB / 0.7449 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.3009, allocations: 91.41 kB / 0.745 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.3009, allocations: 3.938 kB / 0.745 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.4005/0.7014, allocations: 18.44 MB / 0.763 GB, free: 72.89 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)