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.001053/0.001054, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9038/0.9038, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003216, allocations: 8 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1567, allocations: 82.32 MB / 0.5886 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.3741/0.5308, allocations: 102.4 MB / 0.6886 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04743/0.5783, allocations: 32.62 MB / 0.7205 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007944/0.5863, allocations: 134 kB / 0.7206 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007806/0.5941, allocations: 1.664 MB / 0.7222 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01662/0.6108, allocations: 4.637 MB / 0.7268 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01072/0.6215, allocations: 3.536 MB / 0.7302 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02072/0.6423, allocations: 12.67 MB / 0.7426 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006457/0.6488, allocations: 2.954 MB / 0.7455 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008655/0.6575, allocations: 3.36 MB / 0.7488 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005808/0.6633, allocations: 2.96 MB / 0.7517 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.6647, allocations: 171.9 kB / 0.7518 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007136/0.6719, allocations: 2.366 MB / 0.7541 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.6741, allocations: 1.07 MB / 0.7552 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004537/0.6786, allocations: 2.088 MB / 0.7572 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008254/0.6869, allocations: 5.696 MB / 0.7628 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6869, allocations: 0 / 0.7628 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.315e-06/0.6869, allocations: 0 / 0.7628 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001741/0.6871, allocations: 0 / 0.7628 GB, free: 9.727 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.009421/0.6965, allocations: 4.347 MB / 0.767 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.6966, allocations: 12.03 kB / 0.767 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006769/0.7034, allocations: 1.271 MB / 0.7683 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009925/0.7134, allocations: 4.293 MB / 0.7725 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.7136, allocations: 185.1 kB / 0.7726 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006479/0.7143, allocations: 236 kB / 0.7729 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005468/0.7197, allocations: 2.738 MB / 0.7755 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.7198, allocations: 4 kB / 0.7755 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.72, allocations: 95.92 kB / 0.7756 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.7201, allocations: 55.94 kB / 0.7757 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.7249, allocations: 2.006 MB / 0.7777 GB, free: 10.21 MB / 0.5919 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.01842/0.7434, allocations: 12.42 MB / 0.7898 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.7471, allocations: 1.61 MB / 0.7914 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.7489, allocations: 0.7532 MB / 0.7921 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00742/0.7563, allocations: 4.077 MB / 0.7961 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.7564, allocations: 47.5 kB / 0.7961 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001547/0.758, allocations: 202.3 kB / 0.7963 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=111): time 5.641e-06/0.758, allocations: 4 kB / 0.7963 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111): time 0.00967/0.7677, allocations: 3.139 MB / 0.7994 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.7678, allocations: 64.41 kB / 0.7994 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006539/0.7743, allocations: 3.428 MB / 0.8028 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005086/0.7749, allocations: 61.7 kB / 0.8028 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.7764, allocations: 1.773 MB / 0.8046 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005275/0.777, allocations: 386.4 kB / 0.8049 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.7772, allocations: 185.6 kB / 0.8051 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.7773, allocations: 309.1 kB / 0.8054 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/0.7798, allocations: 1.202 MB / 0.8066 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002949/0.7827, allocations: 1.913 MB / 0.8085 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005241/0.788, allocations: 3.026 MB / 0.8114 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.788, allocations: 4 kB / 0.8114 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007744/0.7958, allocations: 3.843 MB / 0.8152 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004686/0.7963, allocations: 0.6292 MB / 0.8158 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.7963, allocations: 23.94 kB / 0.8158 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/0.7981, allocations: 0.7333 MB / 0.8165 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.8, allocations: 427.3 kB / 0.8169 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.8022, allocations: 2.756 MB / 0.8196 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/0.8053, allocations: 211.6 kB / 0.8198 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/0.8056, allocations: 151.9 kB / 0.82 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8056, allocations: 6.031 kB / 0.82 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006461/0.8121, allocations: 3.165 MB / 0.8231 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/0.8121, allocations: 20 kB / 0.8231 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/0.8147, allocations: 0.8549 MB / 0.8239 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.8164, allocations: 403.3 kB / 0.8243 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/0.8327, allocations: 12.33 MB / 0.8364 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.8358, allocations: 203.6 kB / 0.8365 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/0.8362, allocations: 136 kB / 0.8367 GB, free: 10.78 MB / 0.6544 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 (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.001946/0.8381, allocations: 0.8674 MB / 0.8375 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007606/0.8389, allocations: 359.3 kB / 0.8379 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006193/0.8451, allocations: 2.705 MB / 0.8405 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.8451, allocations: 19.98 kB / 0.8405 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.8451, allocations: 7.922 kB / 0.8405 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.8452, allocations: 7.922 kB / 0.8405 GB, free: 6.793 MB / 0.6544 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.01005/0.8552, allocations: 4.92 MB / 0.8453 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.8553, allocations: 4 kB / 0.8454 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.8565, allocations: 247.7 kB / 0.8456 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009674/0.8575, allocations: 387 kB / 0.846 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/0.8576, allocations: 43.95 kB / 0.846 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.8596, allocations: 2.639 MB / 0.8486 GB, free: 14.36 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8596, allocations: 0 / 0.8486 GB, free: 14.36 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005741/0.8653, allocations: 2.449 MB / 0.851 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/0.867, allocations: 0.5975 MB / 0.8516 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004506/0.8675, allocations: 28 kB / 0.8516 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/0.8694, allocations: 203.5 kB / 0.8518 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.8696, allocations: 85.19 kB / 0.8519 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.8697, allocations: 71.94 kB / 0.8519 GB, free: 10.86 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003895/0.8737, allocations: 2.286 MB / 0.8542 GB, free: 8.566 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8737, allocations: 0 / 0.8542 GB, free: 8.566 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006971/0.8807, allocations: 1.809 MB / 0.8559 GB, free: 6.754 MB / 0.67 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 (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.001897/0.8826, allocations: 0.7294 MB / 0.8566 GB, free: 6.031 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009253/0.8919, allocations: 4.477 MB / 0.861 GB, free: 1.512 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8919, allocations: 0 / 0.861 GB, free: 1.512 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.8942, allocations: 0.9059 MB / 0.8619 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2988/1.193, allocations: 1.703 MB / 0.8636 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.203, allocations: 7.527 MB / 0.8709 GB, free: 201.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/1.205, allocations: 2.248 MB / 0.8731 GB, free: 200.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.206, allocations: 297.4 kB / 0.8734 GB, free: 200.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.022e-06/1.206, allocations: 1.75 kB / 0.8734 GB, free: 200.9 MB / 0.67 GB Notification: Performance of Templates: time 0.1413/1.347, allocations: 130.5 MB / 1.001 GB, free: 114.3 MB / 0.67 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)