Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001066/0.001066, allocations: 111.6 kB / 16.36 MB, free: 5.996 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.000991/0.000991, allocations: 190.6 kB / 17.3 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.3 MB / 0.5496 GB, free: 17.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 71.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2268, allocations: 114.5 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.4366/0.6635, allocations: 105.5 MB / 0.8878 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05991/0.7235, allocations: 36.51 MB / 0.9234 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01044/0.7339, allocations: 162 kB / 0.9236 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007793/0.7418, allocations: 2.016 MB / 0.9255 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01708/0.7589, allocations: 4.991 MB / 0.9304 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01049/0.7695, allocations: 3.884 MB / 0.9342 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01652/0.786, allocations: 9.462 MB / 0.9435 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007987/0.794, allocations: 3.502 MB / 0.9469 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.8054, allocations: 3.998 MB / 0.9508 GB, free: 356 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006359/0.8117, allocations: 3.019 MB / 0.9537 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.002458/0.8142, allocations: 408 kB / 0.9541 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009835/0.8241, allocations: 2.632 MB / 0.9567 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002603/0.8267, allocations: 1.316 MB / 0.958 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.006007/0.8328, allocations: 2.344 MB / 0.9603 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.8485, allocations: 7.411 MB / 0.9675 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.8486, allocations: 0 / 0.9675 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8486, allocations: 0 / 0.9675 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0003559/0.8489, allocations: 0 / 0.9675 GB, free: 15.17 MB / 0.7637 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.01724/0.8662, allocations: 5.047 MB / 0.9724 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.8663, allocations: 12.03 kB / 0.9724 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00715/0.8734, allocations: 1.17 MB / 0.9736 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.884, allocations: 4.117 MB / 0.9776 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.8843, allocations: 189.1 kB / 0.9778 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006687/0.8849, allocations: 232 kB / 0.978 GB, free: 4.246 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005326/0.8903, allocations: 2.723 MB / 0.9807 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.8903, allocations: 11.98 kB / 0.9807 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.8906, allocations: 87.94 kB / 0.9808 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.8906, allocations: 55.94 kB / 0.9808 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/0.8954, allocations: 1.959 MB / 0.9827 GB, free: 15.27 MB / 0.7794 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.01987/0.9153, allocations: 12.62 MB / 0.995 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/0.9189, allocations: 1.525 MB / 0.9965 GB, free: 256 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.9205, allocations: 0.704 MB / 0.9972 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00712/0.9277, allocations: 4 MB / 1.001 GB, free: 11.22 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.9278, allocations: 39.56 kB / 1.001 GB, free: 11.17 MB / 0.795 GB Notification: Performance of pre-optimization done (n=107): time 3.457e-06/0.9278, allocations: 0 / 1.001 GB, free: 11.17 MB / 0.795 GB Notification: Performance of matching and sorting (n=107): time 0.009633/0.9374, allocations: 3.022 MB / 1.004 GB, free: 8.059 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.9375, allocations: 64.41 kB / 1.004 GB, free: 7.984 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005488/0.943, allocations: 3.433 MB / 1.008 GB, free: 4.531 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004628/0.9435, allocations: 57.7 kB / 1.008 GB, free: 4.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.945, allocations: 1.761 MB / 1.009 GB, free: 2.695 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006295/0.9457, allocations: 374.6 kB / 1.01 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007773/0.9465, allocations: 475 kB / 1.01 GB, free: 1.852 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9466, allocations: 305.1 kB / 1.01 GB, free: 1.551 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.9491, allocations: 1.191 MB / 1.012 GB, free: 364 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/0.952, allocations: 1.878 MB / 1.013 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/0.9571, allocations: 2.948 MB / 1.016 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.9572, allocations: 10.31 kB / 1.016 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007488/0.9647, allocations: 3.764 MB / 1.02 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.9647, allocations: 12 kB / 1.02 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.9648, allocations: 20 kB / 1.02 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/0.9667, allocations: 0.7185 MB / 1.021 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.9686, allocations: 427.3 kB / 1.021 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.9709, allocations: 2.758 MB / 1.024 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002756/0.9736, allocations: 265.6 kB / 1.024 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.974, allocations: 153.2 kB / 1.024 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003261/0.9772, allocations: 1.667 MB / 1.026 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002414/0.9797, allocations: 1.689 MB / 1.027 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004211/0.9839, allocations: 2.577 MB / 1.03 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.879e-06/0.9839, allocations: 4 kB / 1.03 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.007632/0.9916, allocations: 3.454 MB / 1.033 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.9916, allocations: 16.94 kB / 1.033 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.9916, allocations: 16 kB / 1.033 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002781/0.9944, allocations: 0.869 MB / 1.034 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.996, allocations: 395.4 kB / 1.035 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/1.014, allocations: 13.81 MB / 1.048 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/1.018, allocations: 190.6 kB / 1.048 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/1.018, allocations: 136 kB / 1.048 GB, free: 8.676 MB / 0.8419 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.0006281/1.019, allocations: 291.6 kB / 1.049 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007376/1.019, allocations: 355.3 kB / 1.049 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00639/1.026, allocations: 2.633 MB / 1.052 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/1.026, allocations: 15.98 kB / 1.052 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.026, allocations: 5.875 kB / 1.052 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/1.026, allocations: 11.91 kB / 1.052 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/1.036, allocations: 4.82 MB / 1.056 GB, free: 476 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.036, allocations: 0 / 1.056 GB, free: 476 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.037, allocations: 239.7 kB / 1.057 GB, free: 236 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009845/1.038, allocations: 386.4 kB / 1.057 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.985e-05/1.039, allocations: 47.95 kB / 1.057 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/1.04, allocations: 2.631 MB / 1.06 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.04, allocations: 3.938 kB / 1.06 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/1.046, allocations: 2.41 MB / 1.062 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/1.048, allocations: 0.6013 MB / 1.063 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/1.048, allocations: 20 kB / 1.063 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.05, allocations: 87.91 kB / 1.063 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/1.05, allocations: 89.12 kB / 1.063 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.05, allocations: 68.62 kB / 1.063 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003788/1.054, allocations: 2.297 MB / 1.065 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/1.054, allocations: 4 kB / 1.065 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005678/1.06, allocations: 1.781 MB / 1.067 GB, free: 5.629 MB / 0.8575 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.001902/1.062, allocations: 0.7654 MB / 1.068 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.009891/1.071, allocations: 4.471 MB / 1.072 GB, free: 348 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.071, allocations: 4 kB / 1.072 GB, free: 344 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002267/1.074, allocations: 0.8938 MB / 1.073 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007171/1.081, allocations: 1.762 MB / 1.074 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.093, allocations: 5.922 MB / 1.08 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/1.095, allocations: 2.237 MB / 1.082 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003845/1.099, allocations: 0.8494 MB / 1.083 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000799/1.1, allocations: 279.3 kB / 1.084 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of SimCode: time 1.212e-06/1.1, allocations: 0 / 1.084 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of Templates: time 0.4906/1.59, allocations: 79.71 MB / 1.161 GB, free: 292.3 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)