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/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.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.001586/0.001586, allocations: 115.2 kB / 16.37 MB, free: 6.344 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.001764/0.001764, allocations: 189.4 kB / 17.3 MB, free: 5.898 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.355/1.355, 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.8012/0.8012, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 69.45 kB / 0.5819 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1987, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.5259/0.7247, allocations: 104.9 MB / 0.7627 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04617/0.7709, allocations: 32.9 MB / 0.7949 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00812/0.7791, allocations: 157.7 kB / 0.795 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006572/0.7857, allocations: 2.016 MB / 0.797 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01604/0.8018, allocations: 5.012 MB / 0.8019 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.8133, allocations: 3.9 MB / 0.8057 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01613/0.8295, allocations: 9.542 MB / 0.815 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006355/0.8359, allocations: 3.534 MB / 0.8185 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.8465, allocations: 4.019 MB / 0.8224 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006736/0.8532, allocations: 3.036 MB / 0.8254 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.8548, allocations: 409.6 kB / 0.8258 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008101/0.8629, allocations: 2.639 MB / 0.8283 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002357/0.8653, allocations: 1.327 MB / 0.8296 GB, free: 132 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005784/0.8711, allocations: 2.348 MB / 0.8319 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.8854, allocations: 7.446 MB / 0.8392 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8855, allocations: 0 / 0.8392 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8855, allocations: 4 kB / 0.8392 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002174/0.8857, allocations: 0 / 0.8392 GB, free: 8.332 MB / 0.6075 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.01158/0.8973, allocations: 5.077 MB / 0.8442 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8974, allocations: 8.031 kB / 0.8442 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006608/0.904, allocations: 1.177 MB / 0.8453 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.915, allocations: 4.261 MB / 0.8495 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.9153, allocations: 183.4 kB / 0.8496 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007255/0.916, allocations: 232 kB / 0.8499 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005301/0.9213, allocations: 2.727 MB / 0.8525 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/0.9214, allocations: 11.94 kB / 0.8525 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.9216, allocations: 91.94 kB / 0.8526 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.9217, allocations: 52 kB / 0.8527 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004676/0.9263, allocations: 1.955 MB / 0.8546 GB, free: 8.402 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 preOpt removeSimpleEquations (simulation): time 0.0186/0.945, allocations: 12.63 MB / 0.8669 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/0.9487, allocations: 1.524 MB / 0.8684 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.9504, allocations: 0.7127 MB / 0.8691 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006788/0.9572, allocations: 4.001 MB / 0.873 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.9573, allocations: 43.56 kB / 0.8731 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 2.765e-06/0.9573, allocations: 0 / 0.8731 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.009277/0.9666, allocations: 3.025 MB / 0.876 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.9666, allocations: 64.41 kB / 0.8761 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005242/0.9719, allocations: 3.475 MB / 0.8795 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004443/0.9724, allocations: 57.61 kB / 0.8795 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.9739, allocations: 1.786 MB / 0.8813 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005613/0.9744, allocations: 367.3 kB / 0.8816 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007192/0.9752, allocations: 473.8 kB / 0.8821 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.9753, allocations: 305.1 kB / 0.8824 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.9776, allocations: 1.184 MB / 0.8835 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/0.9804, allocations: 1.886 MB / 0.8854 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005028/0.9855, allocations: 2.948 MB / 0.8882 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.9855, allocations: 8 kB / 0.8882 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007782/0.9933, allocations: 3.764 MB / 0.8919 GB, free: 436 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.9934, allocations: 12 kB / 0.8919 GB, free: 424 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/0.9934, allocations: 23.94 kB / 0.892 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.9953, allocations: 0.7218 MB / 0.8927 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.9971, allocations: 423.3 kB / 0.8931 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.9994, allocations: 2.756 MB / 0.8958 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/1.003, allocations: 277.3 kB / 0.896 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004872/1.003, allocations: 147.9 kB / 0.8962 GB, free: 11.97 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003457/1.007, allocations: 1.663 MB / 0.8978 GB, free: 10.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00252/1.009, allocations: 1.695 MB / 0.8994 GB, free: 8.301 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00418/1.013, allocations: 2.569 MB / 0.9019 GB, free: 5.488 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.231e-05/1.013, allocations: 4 kB / 0.902 GB, free: 5.484 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.007727/1.021, allocations: 3.466 MB / 0.9053 GB, free: 2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/1.021, allocations: 12 kB / 0.9053 GB, free: 1.988 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/1.021, allocations: 20 kB / 0.9054 GB, free: 1.969 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/1.024, allocations: 0.8546 MB / 0.9062 GB, free: 1.102 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.026, allocations: 411.2 kB / 0.9066 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/1.043, allocations: 13.81 MB / 0.9201 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/1.047, allocations: 191 kB / 0.9203 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004934/1.047, allocations: 136 kB / 0.9204 GB, free: 1.91 MB / 0.6856 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.0006625/1.048, allocations: 299.6 kB / 0.9207 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.049, allocations: 363.2 kB / 0.921 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006312/1.055, allocations: 2.637 MB / 0.9236 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/1.055, allocations: 12 kB / 0.9236 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.055, allocations: 0 / 0.9236 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/1.055, allocations: 11.91 kB / 0.9236 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009842/1.065, allocations: 4.824 MB / 0.9283 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.065, allocations: 4 kB / 0.9283 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.066, allocations: 231.8 kB / 0.9286 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009752/1.067, allocations: 401.1 kB / 0.9289 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/1.068, allocations: 43.95 kB / 0.929 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/1.07, allocations: 2.627 MB / 0.9315 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.07, allocations: 4.031 kB / 0.9315 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0058/1.075, allocations: 2.413 MB / 0.9339 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.077, allocations: 0.6013 MB / 0.9345 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005748/1.078, allocations: 28 kB / 0.9345 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/1.079, allocations: 95.89 kB / 0.9346 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.08, allocations: 89.06 kB / 0.9347 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.08, allocations: 63.95 kB / 0.9348 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004002/1.084, allocations: 2.329 MB / 0.937 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.81e-07/1.084, allocations: 4 kB / 0.937 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.006513/1.09, allocations: 1.797 MB / 0.9388 GB, free: 14.81 MB / 0.7169 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.001863/1.092, allocations: 0.7562 MB / 0.9395 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.102, allocations: 4.455 MB / 0.9439 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.102, allocations: 4 kB / 0.9439 GB, free: 9.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/1.105, allocations: 0.894 MB / 0.9448 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007877/1.113, allocations: 1.758 MB / 0.9465 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.125, allocations: 6.138 MB / 0.9525 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/1.128, allocations: 2.246 MB / 0.9547 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.129, allocations: 295.2 kB / 0.9549 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/1.129, allocations: 0 / 0.9549 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.5158/1.645, allocations: 131.6 MB / 1.083 GB, free: 311.4 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (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)