Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0007999/0.0007999, allocations: 99 kB / 15.05 MB, free: 1.105 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.0008395/0.0008395, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.2 MB / 239.9 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8532/0.8532, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002629, allocations: 12 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.3025/0.4329, allocations: 87.94 MB / 0.6731 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03943/0.4724, allocations: 28.65 MB / 0.701 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006257/0.4787, allocations: 127.5 kB / 0.7012 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006001/0.4847, allocations: 1.629 MB / 0.7028 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01832/0.503, allocations: 5.145 MB / 0.7078 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.5145, allocations: 3.809 MB / 0.7115 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01132/0.5258, allocations: 5.826 MB / 0.7172 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004722/0.5305, allocations: 2.693 MB / 0.7198 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008227/0.5388, allocations: 2.984 MB / 0.7227 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004213/0.5431, allocations: 2.011 MB / 0.7247 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006014/0.5437, allocations: 166.6 kB / 0.7249 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004764/0.5484, allocations: 1.744 MB / 0.7266 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008976/0.5494, allocations: 0.9635 MB / 0.7275 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.5505, allocations: 0.8615 MB / 0.7283 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006028/0.5565, allocations: 5.464 MB / 0.7337 GB, free: 6.301 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5566, allocations: 4 kB / 0.7337 GB, free: 6.297 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5566, allocations: 4 kB / 0.7337 GB, free: 6.293 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001168/0.5567, allocations: 0 / 0.7337 GB, free: 6.293 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.007775/0.5645, allocations: 4.36 MB / 0.7379 GB, free: 1.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5645, allocations: 12.03 kB / 0.738 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00553/0.57, allocations: 1.274 MB / 0.7392 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008296/0.5784, allocations: 4.157 MB / 0.7433 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.5785, allocations: 185.2 kB / 0.7434 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.5789, allocations: 232 kB / 0.7437 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004352/0.5832, allocations: 2.681 MB / 0.7463 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.5833, allocations: 0 / 0.7463 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.5835, allocations: 95.94 kB / 0.7464 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/0.5835, allocations: 52 kB / 0.7464 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004107/0.5876, allocations: 1.944 MB / 0.7483 GB, free: 7.023 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.01509/0.6027, allocations: 12.33 MB / 0.7604 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.6059, allocations: 1.517 MB / 0.7618 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005814/0.6118, allocations: 4.076 MB / 0.7658 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.6118, allocations: 43.56 kB / 0.7659 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008527/0.6127, allocations: 210.2 kB / 0.7661 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 2.555e-06/0.6127, allocations: 3.938 kB / 0.7661 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.007781/0.6205, allocations: 3.057 MB / 0.769 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.6205, allocations: 64.41 kB / 0.7691 GB, free: 472 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/0.6245, allocations: 3.432 MB / 0.7725 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.6247, allocations: 57.7 kB / 0.7725 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.626, allocations: 1.789 MB / 0.7743 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.6263, allocations: 382.4 kB / 0.7746 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.6265, allocations: 40 kB / 0.7747 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6266, allocations: 381.9 kB / 0.775 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.6284, allocations: 0.8276 MB / 0.7758 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.6305, allocations: 1.534 MB / 0.7773 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.6325, allocations: 0.99 MB / 0.7783 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.6325, allocations: 4 kB / 0.7783 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.0054/0.6379, allocations: 2.893 MB / 0.7811 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.002427/0.6403, allocations: 8.144 MB / 0.7891 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.6403, allocations: 20 kB / 0.7891 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.6417, allocations: 391.1 kB / 0.7895 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.6434, allocations: 447.2 kB / 0.7899 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.6454, allocations: 2.752 MB / 0.7926 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.6477, allocations: 207.7 kB / 0.7928 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.648, allocations: 163.9 kB / 0.7929 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.648, allocations: 8 kB / 0.793 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005683/0.6537, allocations: 3.094 MB / 0.796 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.6537, allocations: 17 kB / 0.796 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/0.6561, allocations: 0.8581 MB / 0.7968 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.6575, allocations: 411.4 kB / 0.7972 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/0.6735, allocations: 12.9 MB / 0.8098 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.6762, allocations: 195.7 kB / 0.81 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.6765, allocations: 139.9 kB / 0.8101 GB, free: 4.805 MB / 0.6231 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 (207): * Single equations (assignments): 199 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001672/0.6782, allocations: 0.8597 MB / 0.811 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005204/0.6787, allocations: 363.2 kB / 0.8113 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005754/0.6845, allocations: 2.684 MB / 0.8139 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.6845, allocations: 23.92 kB / 0.814 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6845, allocations: 0 / 0.814 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6845, allocations: 11.97 kB / 0.814 GB, free: 0.8438 MB / 0.6231 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 postOpt removeSimpleEquations (simulation): time 0.009016/0.6935, allocations: 5.067 MB / 0.8189 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6936, allocations: 0 / 0.8189 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.6947, allocations: 251.8 kB / 0.8192 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009251/0.6957, allocations: 391 kB / 0.8195 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.02e-05/0.6958, allocations: 43.95 kB / 0.8196 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.6974, allocations: 2.635 MB / 0.8222 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6974, allocations: 4 kB / 0.8222 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004957/0.7023, allocations: 2.49 MB / 0.8246 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.7036, allocations: 0.6209 MB / 0.8252 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/0.704, allocations: 28 kB / 0.8252 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/0.7057, allocations: 203.6 kB / 0.8254 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.7059, allocations: 93.08 kB / 0.8255 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.706, allocations: 79.92 kB / 0.8256 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002986/0.709, allocations: 2.279 MB / 0.8278 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.709, allocations: 0 / 0.8278 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005148/0.7142, allocations: 1.852 MB / 0.8296 GB, free: 468 kB / 0.6387 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 (117): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/0.7156, allocations: 0.7628 MB / 0.8304 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007376/0.723, allocations: 4.039 MB / 0.8343 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.723, allocations: 0.625 kB / 0.8343 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.725, allocations: 0.882 MB / 0.8352 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006293/0.7313, allocations: 1.691 MB / 0.8368 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009434/0.7407, allocations: 7.047 MB / 0.8437 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/0.7424, allocations: 2.328 MB / 0.846 GB, free: 15.61 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003645/0.7461, allocations: 0.8925 MB / 0.8468 GB, free: 14.71 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.7467, allocations: 295.3 kB / 0.8471 GB, free: 14.43 MB / 0.67 GB Notification: Performance of SimCode: time 2.044e-06/0.7468, allocations: 0 / 0.8471 GB, free: 14.43 MB / 0.67 GB Notification: Performance of Templates: time 0.3373/1.084, allocations: 77.43 MB / 0.9227 GB, free: 184.8 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) Environment - environmentSimulation: