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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7322/0.7322, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 403.4 MB, free: 7.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 107.7 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 55.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1626, allocations: 80.2 MB / 0.6402 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02889/0.1916, allocations: 30.52 MB / 0.67 GB, free: 8.168 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.2065, allocations: 10.32 MB / 0.68 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.2087, allocations: 39.75 kB / 0.6801 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.211, allocations: 0.6106 MB / 0.6807 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.2154, allocations: 1.384 MB / 0.682 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.2185, allocations: 1.183 MB / 0.6832 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005247/0.2238, allocations: 3.938 MB / 0.687 GB, free: 6.664 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.2253, allocations: 0.8269 MB / 0.6878 GB, free: 5.824 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.2275, allocations: 1.027 MB / 0.6888 GB, free: 4.793 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.2288, allocations: 0.8244 MB / 0.6896 GB, free: 3.965 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.2289, allocations: 52 kB / 0.6897 GB, free: 3.914 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.2308, allocations: 0.7488 MB / 0.6904 GB, free: 3.164 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.2312, allocations: 302.9 kB / 0.6907 GB, free: 2.867 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.2318, allocations: 0.5633 MB / 0.6913 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.2343, allocations: 1.905 MB / 0.6931 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2343, allocations: 0 / 0.6931 GB, free: 400 kB / 490.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.2343, allocations: 0 / 0.6931 GB, free: 400 kB / 490.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.2343, allocations: 3.938 kB / 0.6931 GB, free: 396 kB / 490.7 MB 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.3381/0.5724, allocations: 1.539 MB / 0.6946 GB, free: 60.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.5725, allocations: 9.25 kB / 0.6946 GB, free: 60.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.574, allocations: 211.7 kB / 0.6948 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.5766, allocations: 1.047 MB / 0.6959 GB, free: 60.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-05/0.5767, allocations: 51.12 kB / 0.6959 GB, free: 60.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.5769, allocations: 75.06 kB / 0.696 GB, free: 60.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.5788, allocations: 0.7253 MB / 0.6967 GB, free: 59.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.5788, allocations: 5.203 kB / 0.6967 GB, free: 59.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/0.5789, allocations: 28.78 kB / 0.6967 GB, free: 59.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.773e-05/0.579, allocations: 23.52 kB / 0.6967 GB, free: 59.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.5807, allocations: 0.5442 MB / 0.6973 GB, free: 59.48 MB / 490.7 MB 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.005803/0.5865, allocations: 3.144 MB / 0.7003 GB, free: 57.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.5881, allocations: 459.1 kB / 0.7008 GB, free: 57.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006377/0.5888, allocations: 211.9 kB / 0.701 GB, free: 57.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00278/0.5916, allocations: 1.537 MB / 0.7025 GB, free: 55.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000829/0.5924, allocations: 258.5 kB / 0.7027 GB, free: 55.71 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003996/0.5928, allocations: 56.73 kB / 0.7028 GB, free: 55.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 3.066e-06/0.5929, allocations: 1.062 kB / 0.7028 GB, free: 55.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.002158/0.595, allocations: 0.5756 MB / 0.7033 GB, free: 55.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.5951, allocations: 62.47 kB / 0.7034 GB, free: 55.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.5968, allocations: 0.9344 MB / 0.7043 GB, free: 54.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.5969, allocations: 32.95 kB / 0.7043 GB, free: 54.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/0.5974, allocations: 0.5008 MB / 0.7048 GB, free: 54.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.5976, allocations: 137.7 kB / 0.705 GB, free: 54.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/0.5979, allocations: 131.6 kB / 0.7051 GB, free: 54.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.598, allocations: 327.5 kB / 0.7054 GB, free: 54.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/0.5987, allocations: 213 kB / 0.7056 GB, free: 54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008429/0.5995, allocations: 411.8 kB / 0.706 GB, free: 53.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.601, allocations: 0.6074 MB / 0.7066 GB, free: 53.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.601, allocations: 3 kB / 0.7066 GB, free: 53.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002076/0.6031, allocations: 0.7152 MB / 0.7073 GB, free: 52.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.6031, allocations: 8.531 kB / 0.7073 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.6031, allocations: 5.406 kB / 0.7073 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.174e-05/0.6032, allocations: 9.594 kB / 0.7073 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/0.6041, allocations: 149.8 kB / 0.7075 GB, free: 52.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.6041, allocations: 14.78 kB / 0.7075 GB, free: 52.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.6052, allocations: 55.7 kB / 0.7075 GB, free: 52.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/0.6053, allocations: 32.47 kB / 0.7076 GB, free: 52.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009827/0.6063, allocations: 412 kB / 0.708 GB, free: 52.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000702/0.607, allocations: 394.9 kB / 0.7083 GB, free: 52.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001154/0.6082, allocations: 0.5588 MB / 0.7089 GB, free: 52.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.652e-06/0.6082, allocations: 2.469 kB / 0.7089 GB, free: 52.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001766/0.61, allocations: 0.6528 MB / 0.7095 GB, free: 51.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.61, allocations: 7.703 kB / 0.7095 GB, free: 51.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6101, allocations: 6.094 kB / 0.7095 GB, free: 51.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.6101, allocations: 10.78 kB / 0.7095 GB, free: 51.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.6109, allocations: 143.8 kB / 0.7097 GB, free: 51.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.6109, allocations: 14.97 kB / 0.7097 GB, free: 51.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009619/0.6119, allocations: 57.56 kB / 0.7097 GB, free: 51.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.612, allocations: 33.97 kB / 0.7098 GB, free: 51.71 MB / 490.7 MB 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 (71): * Single equations (assignments): 70 * 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.0002345/0.6123, allocations: 223 kB / 0.71 GB, free: 51.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.6124, allocations: 97.02 kB / 0.7101 GB, free: 51.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.6144, allocations: 0.6121 MB / 0.7107 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.6145, allocations: 6.141 kB / 0.7107 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6145, allocations: 7.938 kB / 0.7107 GB, free: 51.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001347/0.6159, allocations: 0.6698 MB / 0.7113 GB, free: 50.72 MB / 490.7 MB 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 postOpt removeSimpleEquations (simulation): time 0.00351/0.6194, allocations: 1.515 MB / 0.7128 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6194, allocations: 2 kB / 0.7128 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.6201, allocations: 80.55 kB / 0.7129 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.6201, allocations: 7.781 kB / 0.7129 GB, free: 49.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.6202, allocations: 15.91 kB / 0.7129 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.6202, allocations: 4.062 kB / 0.7129 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.6202, allocations: 1.188 kB / 0.7129 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01968/0.6399, allocations: 5.837 MB / 0.7186 GB, free: 46.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.6403, allocations: 228.5 kB / 0.7189 GB, free: 46.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.6405, allocations: 16.08 kB / 0.7189 GB, free: 46.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007573/0.6413, allocations: 37.09 kB / 0.7189 GB, free: 46.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.6414, allocations: 36.3 kB / 0.7189 GB, free: 46.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.6415, allocations: 19.86 kB / 0.719 GB, free: 46.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001168/0.6427, allocations: 0.6357 MB / 0.7196 GB, free: 45.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6427, allocations: 0 / 0.7196 GB, free: 45.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003639/0.6463, allocations: 0.825 MB / 0.7204 GB, free: 45.78 MB / 490.7 MB 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 (45): * Single equations (assignments): 40 * 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.001301/0.6476, allocations: 447.6 kB / 0.7208 GB, free: 45.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.65, allocations: 0.7848 MB / 0.7216 GB, free: 45.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.65, allocations: 3.938 kB / 0.7216 GB, free: 45.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006765/0.6507, allocations: 226 kB / 0.7218 GB, free: 45.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/0.6541, allocations: 493.1 kB / 0.7223 GB, free: 44.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.6585, allocations: 2.441 MB / 0.7246 GB, free: 43.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.6592, allocations: 1.098 MB / 0.7257 GB, free: 42.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001827/0.661, allocations: 263.6 kB / 0.726 GB, free: 42.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.6614, allocations: 99.3 kB / 0.7261 GB, free: 42.17 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6615, allocations: 1.438 kB / 0.7261 GB, free: 42.17 MB / 490.7 MB Notification: Performance of Templates: time 0.03384/0.6953, allocations: 23.11 MB / 0.7486 GB, free: 20.75 MB / 490.7 MB 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)