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.001226/0.001232, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001224/0.001224, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8107/0.8107, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 62.16 kB / 0.5863 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.185, allocations: 80.92 MB / 0.6653 GB, free: 5.789 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.03838/0.2234, allocations: 30.67 MB / 0.6952 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.2411, allocations: 10.27 MB / 0.7053 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.2434, allocations: 43.75 kB / 0.7053 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.2462, allocations: 0.6952 MB / 0.706 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.2517, allocations: 1.487 MB / 0.7074 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.2557, allocations: 1.331 MB / 0.7087 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00515/0.2609, allocations: 2.982 MB / 0.7117 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.263, allocations: 0.9608 MB / 0.7126 GB, free: 5.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.2665, allocations: 1.207 MB / 0.7138 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.2684, allocations: 0.7972 MB / 0.7145 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004475/0.2689, allocations: 104 kB / 0.7146 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.2716, allocations: 0.8074 MB / 0.7154 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000814/0.2725, allocations: 358.9 kB / 0.7158 GB, free: 1.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.2741, allocations: 0.6103 MB / 0.7164 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.2787, allocations: 1.982 MB / 0.7183 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2787, allocations: 0 / 0.7183 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2787, allocations: 0 / 0.7183 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.035e-05/0.2788, allocations: 0 / 0.7183 GB, free: 15.31 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.004111/0.2829, allocations: 1.53 MB / 0.7198 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.283, allocations: 13.11 kB / 0.7198 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.2842, allocations: 211.2 kB / 0.72 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.2868, allocations: 1.05 MB / 0.721 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.434e-05/0.2869, allocations: 49.31 kB / 0.7211 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.2871, allocations: 75.94 kB / 0.7212 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.2886, allocations: 0.7216 MB / 0.7219 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.2887, allocations: 3.938 kB / 0.7219 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.2887, allocations: 31.98 kB / 0.7219 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.2888, allocations: 21.31 kB / 0.7219 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2901, allocations: 0.536 MB / 0.7224 GB, free: 10.95 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.005056/0.2952, allocations: 3.179 MB / 0.7256 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.2964, allocations: 442.5 kB / 0.726 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.2968, allocations: 195.4 kB / 0.7262 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/0.2991, allocations: 1.536 MB / 0.7277 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/0.2997, allocations: 252.2 kB / 0.7279 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 3.617e-06/0.2997, allocations: 4 kB / 0.7279 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001511/0.3013, allocations: 0.5782 MB / 0.7285 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3013, allocations: 55.41 kB / 0.7285 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.3028, allocations: 0.9413 MB / 0.7294 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.3029, allocations: 33.7 kB / 0.7295 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.3034, allocations: 0.5036 MB / 0.73 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.3035, allocations: 122.2 kB / 0.7301 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.3038, allocations: 134.1 kB / 0.7302 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3039, allocations: 326 kB / 0.7305 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.3044, allocations: 211.1 kB / 0.7307 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.3051, allocations: 411.8 kB / 0.7311 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3062, allocations: 0.6002 MB / 0.7317 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.3063, allocations: 4 kB / 0.7317 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001502/0.3078, allocations: 0.7109 MB / 0.7324 GB, free: 128 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.3078, allocations: 10.03 kB / 0.7324 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3078, allocations: 7.938 kB / 0.7324 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.3079, allocations: 8 kB / 0.7324 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.3085, allocations: 151.8 kB / 0.7326 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.3085, allocations: 12.22 kB / 0.7326 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/0.3092, allocations: 79.91 kB / 0.7327 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.3093, allocations: 35.98 kB / 0.7327 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007716/0.3101, allocations: 405.2 kB / 0.7331 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005389/0.3106, allocations: 395.8 kB / 0.7335 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008935/0.3115, allocations: 0.5536 MB / 0.734 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.057e-06/0.3115, allocations: 4 kB / 0.734 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00134/0.3129, allocations: 0.6603 MB / 0.7346 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3129, allocations: 11.94 kB / 0.7347 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3129, allocations: 4 kB / 0.7347 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3129, allocations: 8 kB / 0.7347 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.3134, allocations: 139.8 kB / 0.7348 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.479e-05/0.3135, allocations: 11.98 kB / 0.7348 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.3141, allocations: 60.55 kB / 0.7349 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.3142, allocations: 31.98 kB / 0.7349 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.000262/0.3145, allocations: 220 kB / 0.7351 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.3147, allocations: 102.7 kB / 0.7352 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.3162, allocations: 0.6084 MB / 0.7358 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.3162, allocations: 4 kB / 0.7358 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.3163, allocations: 4 kB / 0.7358 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.3173, allocations: 0.6702 MB / 0.7365 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.3199, allocations: 1.439 MB / 0.7379 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.3199, allocations: 4 kB / 0.7379 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.3204, allocations: 88 kB / 0.738 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3204, allocations: 0 / 0.738 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.3204, allocations: 15.98 kB / 0.738 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3204, allocations: 0 / 0.738 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3204, allocations: 4 kB / 0.738 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.3221, allocations: 0.8871 MB / 0.7388 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.3225, allocations: 223.8 kB / 0.7391 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.3227, allocations: 15.94 kB / 0.7391 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.3232, allocations: 23.98 kB / 0.7391 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3233, allocations: 36.22 kB / 0.7391 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.3234, allocations: 23.92 kB / 0.7391 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001022/0.3244, allocations: 0.6467 MB / 0.7398 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3244, allocations: 0 / 0.7398 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001686/0.3261, allocations: 0.5223 MB / 0.7403 GB, free: 7.645 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.001087/0.3272, allocations: 372.6 kB / 0.7406 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.329, allocations: 0.7841 MB / 0.7414 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.329, allocations: 0 / 0.7414 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.3295, allocations: 232.4 kB / 0.7416 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.3317, allocations: 0.4982 MB / 0.7421 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.3354, allocations: 1.802 MB / 0.7439 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.3365, allocations: 1.072 MB / 0.7449 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.3368, allocations: 91.39 kB / 0.745 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/0.3368, allocations: 0 / 0.745 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of Templates: time 0.3845/0.7214, allocations: 18.3 MB / 0.7629 GB, free: 72.98 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)