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.006092/0.006092, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.001313/0.001313, allocations: 190.4 kB / 16.67 MB, free: 5.934 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.448/1.448, 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.8021/0.8021, allocations: 135.1 MB / 425.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 62.27 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1816, allocations: 80.92 MB / 0.6646 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03118/0.2128, allocations: 30.67 MB / 0.6946 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.2273, allocations: 10.27 MB / 0.7046 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.229, allocations: 47.75 kB / 0.7047 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.2313, allocations: 0.6913 MB / 0.7053 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.2355, allocations: 1.496 MB / 0.7068 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.2389, allocations: 1.326 MB / 0.7081 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004084/0.243, allocations: 2.978 MB / 0.711 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.2446, allocations: 0.9609 MB / 0.7119 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.2472, allocations: 1.179 MB / 0.7131 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.2485, allocations: 0.8012 MB / 0.7139 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.2487, allocations: 100 kB / 0.714 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.2504, allocations: 0.8113 MB / 0.7148 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.2508, allocations: 350.9 kB / 0.7151 GB, free: 2.027 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006372/0.2514, allocations: 0.6103 MB / 0.7157 GB, free: 1.414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.2538, allocations: 1.985 MB / 0.7176 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2538, allocations: 3.938 kB / 0.7176 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2539, allocations: 0 / 0.7176 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.2539, allocations: 0 / 0.7176 GB, free: 15.42 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.002277/0.2562, allocations: 1.575 MB / 0.7192 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2562, allocations: 9.109 kB / 0.7192 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009001/0.2571, allocations: 212 kB / 0.7194 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.2588, allocations: 1.062 MB / 0.7204 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.2589, allocations: 53.31 kB / 0.7205 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.259, allocations: 72 kB / 0.7205 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.2602, allocations: 0.7332 MB / 0.7213 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2603, allocations: 0 / 0.7213 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.2603, allocations: 24 kB / 0.7213 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.2604, allocations: 25.31 kB / 0.7213 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2614, allocations: 0.5359 MB / 0.7218 GB, free: 11 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.0038/0.2652, allocations: 3.183 MB / 0.7249 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.2663, allocations: 438.5 kB / 0.7254 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.2667, allocations: 200.7 kB / 0.7255 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.2686, allocations: 1.536 MB / 0.727 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.2691, allocations: 252.1 kB / 0.7273 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.2691, allocations: 0 / 0.7273 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001325/0.2705, allocations: 0.5865 MB / 0.7279 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.2705, allocations: 55.41 kB / 0.7279 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.2717, allocations: 0.9452 MB / 0.7288 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.2718, allocations: 37.7 kB / 0.7289 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.2722, allocations: 0.5044 MB / 0.7294 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.2723, allocations: 134.9 kB / 0.7295 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.2725, allocations: 130.2 kB / 0.7296 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2726, allocations: 330 kB / 0.7299 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.273, allocations: 211 kB / 0.7301 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.2736, allocations: 411.8 kB / 0.7305 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.2746, allocations: 0.5963 MB / 0.7311 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2746, allocations: 4 kB / 0.7311 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00132/0.276, allocations: 0.7154 MB / 0.7318 GB, free: 148 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.276, allocations: 8 kB / 0.7318 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.276, allocations: 4 kB / 0.7318 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.276, allocations: 12 kB / 0.7318 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.2766, allocations: 147.8 kB / 0.732 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.2766, allocations: 15.88 kB / 0.732 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.2772, allocations: 80.44 kB / 0.7321 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.2773, allocations: 31.98 kB / 0.7321 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006125/0.2779, allocations: 409.2 kB / 0.7325 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004758/0.2784, allocations: 395.8 kB / 0.7329 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007776/0.2791, allocations: 0.5574 MB / 0.7334 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.484e-06/0.2792, allocations: 0 / 0.7334 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001106/0.2803, allocations: 0.6648 MB / 0.7341 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2803, allocations: 13.81 kB / 0.7341 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2803, allocations: 8 kB / 0.7341 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2803, allocations: 12 kB / 0.7341 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.2808, allocations: 135.8 kB / 0.7342 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.2808, allocations: 15.94 kB / 0.7342 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.2813, allocations: 60.56 kB / 0.7343 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.2814, allocations: 32 kB / 0.7343 GB, free: 13.38 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.0002011/0.2816, allocations: 216.1 kB / 0.7345 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.2818, allocations: 103.3 kB / 0.7346 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.283, allocations: 0.6163 MB / 0.7352 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.2831, allocations: 8 kB / 0.7352 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2831, allocations: 0 / 0.7352 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009973/0.2841, allocations: 0.6625 MB / 0.7359 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.2863, allocations: 1.451 MB / 0.7373 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2863, allocations: 4 kB / 0.7373 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.2867, allocations: 83.88 kB / 0.7374 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.2867, allocations: 8.125 kB / 0.7374 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.2867, allocations: 8 kB / 0.7374 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.2868, allocations: 11.92 kB / 0.7374 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2868, allocations: 0 / 0.7374 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2883, allocations: 0.88 MB / 0.7383 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.2886, allocations: 232.3 kB / 0.7385 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.2887, allocations: 11.98 kB / 0.7385 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.2891, allocations: 23.98 kB / 0.7385 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.2892, allocations: 40.16 kB / 0.7386 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.2893, allocations: 23.92 kB / 0.7386 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008266/0.2901, allocations: 0.6429 MB / 0.7392 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2901, allocations: 4 kB / 0.7392 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001408/0.2915, allocations: 0.53 MB / 0.7397 GB, free: 7.633 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.0008134/0.2923, allocations: 379.3 kB / 0.7401 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.2939, allocations: 0.7753 MB / 0.7409 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2939, allocations: 0 / 0.7409 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.2944, allocations: 233.5 kB / 0.7411 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.2964, allocations: 0.5098 MB / 0.7416 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.2991, allocations: 1.763 MB / 0.7433 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.2998, allocations: 1.08 MB / 0.7443 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009264/0.3007, allocations: 256 kB / 0.7446 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.3009, allocations: 87.41 kB / 0.7447 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of SimCode: time 1.213e-06/0.3009, allocations: 0 / 0.7447 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of Templates: time 0.325/0.626, allocations: 20.42 MB / 0.7646 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)