Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 112.6 kB / 16.37 MB, free: 5.539 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.00125/0.00125, allocations: 193.8 kB / 17.31 MB, free: 5.18 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.272/1.272, 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.7616/0.7616, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.89 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3089, allocations: 80.9 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.08673/0.3957, allocations: 105 MB / 0.6883 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0443/0.44, allocations: 32.9 MB / 0.7204 GB, free: 340 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005103/0.4451, allocations: 155.1 kB / 0.7205 GB, free: 184 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005641/0.4508, allocations: 2.018 MB / 0.7225 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01342/0.4643, allocations: 5.015 MB / 0.7274 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008856/0.4732, allocations: 3.899 MB / 0.7312 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01324/0.4865, allocations: 9.538 MB / 0.7405 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006575/0.4931, allocations: 3.527 MB / 0.744 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009047/0.5021, allocations: 4.021 MB / 0.7479 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005146/0.5073, allocations: 3.042 MB / 0.7509 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.5086, allocations: 415.9 kB / 0.7513 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.284/0.7927, allocations: 2.628 MB / 0.7538 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.7943, allocations: 1.318 MB / 0.7551 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002923/0.7972, allocations: 2.359 MB / 0.7574 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.8083, allocations: 7.441 MB / 0.7647 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8084, allocations: 2.594 kB / 0.7647 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8084, allocations: 0 / 0.7647 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002164/0.8086, allocations: 0 / 0.7647 GB, free: 16.95 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01107/0.8197, allocations: 5.082 MB / 0.7697 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8197, allocations: 11.27 kB / 0.7697 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006369/0.8261, allocations: 1.174 MB / 0.7708 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009008/0.8351, allocations: 4.263 MB / 0.775 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.8353, allocations: 178.3 kB / 0.7751 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.8357, allocations: 238.4 kB / 0.7754 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/0.8398, allocations: 2.728 MB / 0.778 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.8399, allocations: 0 / 0.778 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.8401, allocations: 87.22 kB / 0.7781 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.8401, allocations: 50.16 kB / 0.7782 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.844, allocations: 1.959 MB / 0.7801 GB, free: 13.09 MB / 0.5762 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.01355/0.8576, allocations: 12.63 MB / 0.7924 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.8605, allocations: 1.52 MB / 0.7939 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.8619, allocations: 0.7207 MB / 0.7946 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005952/0.8678, allocations: 3.985 MB / 0.7985 GB, free: 20.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.8679, allocations: 43.91 kB / 0.7985 GB, free: 20.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 2.514e-06/0.8679, allocations: 0 / 0.7985 GB, free: 20.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.00774/0.8756, allocations: 3.029 MB / 0.8015 GB, free: 19.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.8757, allocations: 61.5 kB / 0.8016 GB, free: 19.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/0.8798, allocations: 3.483 MB / 0.805 GB, free: 19.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.8801, allocations: 54.08 kB / 0.805 GB, free: 19.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.8812, allocations: 1.79 MB / 0.8068 GB, free: 19.06 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.8815, allocations: 371.4 kB / 0.8071 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005916/0.8821, allocations: 464.9 kB / 0.8076 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8822, allocations: 305 kB / 0.8078 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.8841, allocations: 1.189 MB / 0.809 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.8862, allocations: 1.883 MB / 0.8108 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/0.8901, allocations: 2.951 MB / 0.8137 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.8901, allocations: 5.281 kB / 0.8137 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005935/0.896, allocations: 3.772 MB / 0.8174 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.8961, allocations: 14.31 kB / 0.8174 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.8961, allocations: 15.59 kB / 0.8174 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.8977, allocations: 0.7356 MB / 0.8182 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.8993, allocations: 418.8 kB / 0.8186 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.9013, allocations: 2.761 MB / 0.8213 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.9039, allocations: 261.2 kB / 0.8215 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.9042, allocations: 156.9 kB / 0.8217 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002683/0.9068, allocations: 1.663 MB / 0.8233 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001905/0.9088, allocations: 1.689 MB / 0.8249 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003392/0.9122, allocations: 2.575 MB / 0.8274 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.947e-06/0.9122, allocations: 11.81 kB / 0.8275 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.00631/0.9185, allocations: 3.453 MB / 0.8308 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.9185, allocations: 16 kB / 0.8308 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.9186, allocations: 16 kB / 0.8309 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/0.921, allocations: 0.864 MB / 0.8317 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.9225, allocations: 397.8 kB / 0.8321 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/0.9392, allocations: 13.81 MB / 0.8456 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.942, allocations: 186.8 kB / 0.8457 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/0.9423, allocations: 136 kB / 0.8459 GB, free: 9.684 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005641/0.9429, allocations: 300 kB / 0.8462 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/0.9435, allocations: 363.2 kB / 0.8465 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005804/0.9494, allocations: 2.627 MB / 0.8491 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.9494, allocations: 16.55 kB / 0.8491 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.9494, allocations: 0 / 0.8491 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.9494, allocations: 7.984 kB / 0.8491 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008693/0.9581, allocations: 4.852 MB / 0.8538 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.9581, allocations: 0 / 0.8538 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.9593, allocations: 238.1 kB / 0.8541 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009146/0.9603, allocations: 383 kB / 0.8544 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.9604, allocations: 46.97 kB / 0.8545 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.9621, allocations: 2.634 MB / 0.857 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9621, allocations: 8 kB / 0.8571 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/0.9671, allocations: 2.403 MB / 0.8594 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.9685, allocations: 0.5975 MB / 0.86 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/0.9689, allocations: 27.98 kB / 0.86 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.9704, allocations: 91.84 kB / 0.8601 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.9706, allocations: 88.47 kB / 0.8602 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.9707, allocations: 75.92 kB / 0.8603 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003104/0.9739, allocations: 2.326 MB / 0.8625 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9739, allocations: 0 / 0.8625 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004654/0.9785, allocations: 1.792 MB / 0.8643 GB, free: 6.699 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001628/0.9802, allocations: 0.766 MB / 0.865 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00886/0.989, allocations: 4.467 MB / 0.8694 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9891, allocations: 192 / 0.8694 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.9911, allocations: 0.897 MB / 0.8703 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006771/0.9978, allocations: 1.739 MB / 0.872 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009382/1.007, allocations: 5.98 MB / 0.8778 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/1.009, allocations: 2.25 MB / 0.88 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00307/1.012, allocations: 0.864 MB / 0.8808 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/1.013, allocations: 279.3 kB / 0.8811 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/1.013, allocations: 0 / 0.8811 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of Templates: time 0.1152/1.128, allocations: 79.66 MB / 0.9589 GB, free: 7.215 MB / 0.7169 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)