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.001419/0.001419, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.001482/0.001482, allocations: 185.5 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7729/0.7729, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 72.08 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1568, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03092/0.1878, allocations: 30.67 MB / 0.6903 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.203, allocations: 10.28 MB / 0.7003 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.2049, allocations: 43.75 kB / 0.7004 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.2072, allocations: 0.6913 MB / 0.701 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004485/0.2118, allocations: 1.483 MB / 0.7025 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.2153, allocations: 1.338 MB / 0.7038 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004229/0.2195, allocations: 2.967 MB / 0.7067 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.2214, allocations: 0.9725 MB / 0.7076 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.2244, allocations: 1.168 MB / 0.7088 GB, free: 8.512 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.2261, allocations: 0.8011 MB / 0.7096 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003627/0.2264, allocations: 108 kB / 0.7097 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.2286, allocations: 0.8114 MB / 0.7104 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005421/0.2291, allocations: 354.8 kB / 0.7108 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.2303, allocations: 0.6142 MB / 0.7114 GB, free: 5.824 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003463/0.2337, allocations: 1.971 MB / 0.7133 GB, free: 3.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.2338, allocations: 4 kB / 0.7133 GB, free: 3.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2338, allocations: 0 / 0.7133 GB, free: 3.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.69e-05/0.2339, allocations: 0 / 0.7133 GB, free: 3.844 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.003372/0.2372, allocations: 1.538 MB / 0.7148 GB, free: 2.254 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2373, allocations: 8.031 kB / 0.7148 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.2384, allocations: 207.3 kB / 0.715 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.2412, allocations: 1.054 MB / 0.716 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/0.2413, allocations: 53.31 kB / 0.7161 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.2414, allocations: 71.91 kB / 0.7162 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.243, allocations: 0.7216 MB / 0.7169 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.2431, allocations: 7.938 kB / 0.7169 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.2431, allocations: 27.98 kB / 0.7169 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.2432, allocations: 25.31 kB / 0.7169 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.2445, allocations: 0.5361 MB / 0.7175 GB, free: 15.47 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.004885/0.2494, allocations: 3.159 MB / 0.7205 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.2505, allocations: 446.4 kB / 0.721 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.251, allocations: 188.8 kB / 0.7211 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002096/0.2531, allocations: 1.54 MB / 0.7227 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005555/0.2537, allocations: 252.1 kB / 0.7229 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 2.405e-06/0.2537, allocations: 0 / 0.7229 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001463/0.2551, allocations: 0.5785 MB / 0.7235 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.2552, allocations: 59.41 kB / 0.7235 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.2565, allocations: 0.9413 MB / 0.7244 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.2566, allocations: 33.7 kB / 0.7245 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.2571, allocations: 0.4958 MB / 0.7249 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2572, allocations: 130.2 kB / 0.7251 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.2574, allocations: 134 kB / 0.7252 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2576, allocations: 326 kB / 0.7255 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.258, allocations: 211.1 kB / 0.7257 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.2587, allocations: 412.2 kB / 0.7261 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.2597, allocations: 0.5973 MB / 0.7267 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.2597, allocations: 4 kB / 0.7267 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001413/0.2611, allocations: 0.711 MB / 0.7274 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2612, allocations: 8 kB / 0.7274 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2612, allocations: 4 kB / 0.7274 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2612, allocations: 12 kB / 0.7274 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/0.2618, allocations: 148 kB / 0.7276 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.2618, allocations: 23.88 kB / 0.7276 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.2625, allocations: 75.92 kB / 0.7276 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.2626, allocations: 31.98 kB / 0.7277 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006552/0.2632, allocations: 409.2 kB / 0.7281 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004974/0.2637, allocations: 395.8 kB / 0.7284 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008201/0.2646, allocations: 0.5575 MB / 0.729 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.43e-06/0.2646, allocations: 4 kB / 0.729 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001187/0.2658, allocations: 0.6562 MB / 0.7296 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.2658, allocations: 18.11 kB / 0.7297 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2658, allocations: 4 kB / 0.7297 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2658, allocations: 15.98 kB / 0.7297 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.2664, allocations: 135.8 kB / 0.7298 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.2664, allocations: 16.28 kB / 0.7298 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/0.2669, allocations: 60.25 kB / 0.7299 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.267, allocations: 28 kB / 0.7299 GB, free: 1.918 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.0002057/0.2672, allocations: 216.1 kB / 0.7301 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.2674, allocations: 102.7 kB / 0.7302 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.2687, allocations: 0.6124 MB / 0.7308 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.2687, allocations: 4 kB / 0.7308 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2688, allocations: 0 / 0.7308 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009716/0.2697, allocations: 0.6664 MB / 0.7315 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.2721, allocations: 1.447 MB / 0.7329 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.2721, allocations: 4 kB / 0.7329 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.2725, allocations: 88 kB / 0.733 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.2725, allocations: 4 kB / 0.733 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.2726, allocations: 15.98 kB / 0.733 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2726, allocations: 4 kB / 0.733 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2726, allocations: 0 / 0.733 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.2742, allocations: 0.8755 MB / 0.7338 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.2745, allocations: 235.7 kB / 0.7341 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.2747, allocations: 12 kB / 0.7341 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.2751, allocations: 19.98 kB / 0.7341 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.2752, allocations: 40.16 kB / 0.7341 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.2753, allocations: 19.98 kB / 0.7341 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008879/0.2762, allocations: 0.6467 MB / 0.7348 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2762, allocations: 0 / 0.7348 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001546/0.2777, allocations: 0.5224 MB / 0.7353 GB, free: 12.18 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.0009505/0.2787, allocations: 379.3 kB / 0.7356 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.2804, allocations: 0.7764 MB / 0.7364 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.2804, allocations: 4.688 kB / 0.7364 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.2809, allocations: 239.8 kB / 0.7366 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.283, allocations: 0.5055 MB / 0.7371 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.2864, allocations: 1.785 MB / 0.7389 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000827/0.2873, allocations: 1.083 MB / 0.7399 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.2876, allocations: 87.41 kB / 0.74 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.2876, allocations: 8 kB / 0.74 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of Templates: time 0.3602/0.6478, allocations: 18.17 MB / 0.7578 GB, free: 78.32 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)