Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001632, allocations: 181.5 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009045, allocations: 87.45 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 9.594 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.08843/0.3044, allocations: 104.4 MB / 0.9987 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05371/0.3581, allocations: 36.93 MB / 1.035 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007391/0.3656, allocations: 146.9 kB / 1.035 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006075/0.3717, allocations: 1.675 MB / 1.037 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01436/0.3861, allocations: 4.613 MB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009571/0.3957, allocations: 3.513 MB / 1.044 GB, free: 12.47 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.4302/0.8259, allocations: 12.59 MB / 1.057 GB, free: 8.676 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/0.8315, allocations: 2.874 MB / 1.06 GB, free: 8.367 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007533/0.839, allocations: 3.313 MB / 1.063 GB, free: 8.359 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006359/0.8454, allocations: 2.958 MB / 1.066 GB, free: 8.348 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.8469, allocations: 165.5 kB / 1.066 GB, free: 8.348 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00728/0.8542, allocations: 2.239 MB / 1.068 GB, free: 8.344 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002437/0.8567, allocations: 1.071 MB / 1.069 GB, free: 8.184 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005757/0.8624, allocations: 2.048 MB / 1.071 GB, free: 7.504 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009259/0.8717, allocations: 5.61 MB / 1.077 GB, free: 7.316 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.8718, allocations: 4.031 kB / 1.077 GB, free: 7.316 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8718, allocations: 0 / 1.077 GB, free: 7.316 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002399/0.872, allocations: 0 / 1.077 GB, free: 7.316 MB / 0.698 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.0107/0.8827, allocations: 4.297 MB / 1.081 GB, free: 5.188 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.8828, allocations: 9.5 kB / 1.081 GB, free: 5.188 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006837/0.8896, allocations: 1.28 MB / 1.082 GB, free: 4.883 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.8999, allocations: 4.251 MB / 1.086 GB, free: 4.004 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.9003, allocations: 185.3 kB / 1.086 GB, free: 3.996 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.9014, allocations: 242.3 kB / 1.087 GB, free: 3.992 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00716/0.9086, allocations: 2.737 MB / 1.089 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.893e-05/0.9087, allocations: 0 / 1.089 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.909, allocations: 86.78 kB / 1.089 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/0.909, allocations: 53.25 kB / 1.089 GB, free: 3.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004883/0.9139, allocations: 2 MB / 1.091 GB, free: 3.645 MB / 0.698 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.019/0.9329, allocations: 12.4 MB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.9366, allocations: 1.592 MB / 1.105 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.9383, allocations: 0.7621 MB / 1.106 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007798/0.9461, allocations: 4.045 MB / 1.11 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.9462, allocations: 48.81 kB / 1.11 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001745/0.9479, allocations: 196.8 kB / 1.11 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 8.266e-06/0.9479, allocations: 7.406 kB / 1.11 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.009637/0.9576, allocations: 3.134 MB / 1.113 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.9577, allocations: 62.41 kB / 1.113 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006403/0.9641, allocations: 3.377 MB / 1.116 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004099/0.9645, allocations: 59.42 kB / 1.116 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.966, allocations: 1.769 MB / 1.118 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.9665, allocations: 380.7 kB / 1.118 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004046/0.9669, allocations: 186.6 kB / 1.119 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.9671, allocations: 301.1 kB / 1.119 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.9696, allocations: 1.199 MB / 1.12 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00318/0.9728, allocations: 1.894 MB / 1.122 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005126/0.9779, allocations: 3.01 MB / 1.125 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.9779, allocations: 10 kB / 1.125 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007298/0.9852, allocations: 3.795 MB / 1.129 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004081/0.9857, allocations: 0.6239 MB / 1.129 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.9857, allocations: 21.91 kB / 1.129 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.9875, allocations: 0.7238 MB / 1.13 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.9892, allocations: 429.8 kB / 1.13 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.9912, allocations: 2.764 MB / 1.133 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/0.9943, allocations: 211 kB / 1.133 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003094/0.9946, allocations: 155.4 kB / 1.133 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.9947, allocations: 9.469 kB / 1.133 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006296/1.001, allocations: 3.122 MB / 1.136 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/1.001, allocations: 20.81 kB / 1.137 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/1.004, allocations: 0.8515 MB / 1.137 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.005, allocations: 399 kB / 1.138 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/1.02, allocations: 12.23 MB / 1.15 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/1.024, allocations: 203.4 kB / 1.15 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004845/1.024, allocations: 133.7 kB / 1.15 GB, free: 11.36 MB / 0.7292 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.002483/1.027, allocations: 0.8626 MB / 1.151 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.028, allocations: 353.2 kB / 1.151 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006716/1.035, allocations: 2.714 MB / 1.154 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/1.035, allocations: 18.34 kB / 1.154 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.035, allocations: 0 / 1.154 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/1.035, allocations: 7.969 kB / 1.154 GB, free: 10.14 MB / 0.7292 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.0118/1.046, allocations: 4.897 MB / 1.159 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.046, allocations: 7.938 kB / 1.159 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.048, allocations: 246.2 kB / 1.159 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009793/1.049, allocations: 392.2 kB / 1.159 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.049, allocations: 46.77 kB / 1.159 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/1.051, allocations: 2.631 MB / 1.162 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.051, allocations: 0 / 1.162 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/1.056, allocations: 2.449 MB / 1.164 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.058, allocations: 0.5789 MB / 1.165 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000888/1.059, allocations: 31.98 kB / 1.165 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/1.061, allocations: 191.7 kB / 1.165 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/1.062, allocations: 93.12 kB / 1.165 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.062, allocations: 67.94 kB / 1.165 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004416/1.066, allocations: 2.254 MB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.81e-07/1.066, allocations: 4 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007717/1.074, allocations: 1.769 MB / 1.169 GB, free: 14.02 MB / 0.7448 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.002135/1.076, allocations: 0.6793 MB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009461/1.085, allocations: 4.427 MB / 1.174 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.086, allocations: 0 / 1.174 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00243/1.088, allocations: 0.9034 MB / 1.175 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0121/1.1, allocations: 1.706 MB / 1.177 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.114, allocations: 7.475 MB / 1.184 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/1.116, allocations: 2.234 MB / 1.186 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.118, allocations: 287.3 kB / 1.186 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of SimCode: time 8.62e-07/1.118, allocations: 0 / 1.186 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of Templates: time 0.1471/1.265, allocations: 129.4 MB / 1.313 GB, free: 11.62 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)