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.389/1.389, allocations: 252 MB / 268 MB, free: 10.87 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.001036/0.001036, allocations: 178.2 kB / 327.6 MB, free: 2.102 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.558/1.558, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0008431/0.0008431, allocations: 93.98 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003253, allocations: 12.98 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2045, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.08192/0.2865, allocations: 102.9 MB / 1.002 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05433/0.3409, allocations: 36.54 MB / 1.038 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007037/0.348, allocations: 138.9 kB / 1.038 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00605/0.3541, allocations: 1.671 MB / 1.039 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.3689, allocations: 4.613 MB / 1.044 GB, free: 13.2 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.379, allocations: 3.528 MB / 1.047 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.4393/0.8184, allocations: 12.59 MB / 1.06 GB, free: 8.352 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006186/0.8246, allocations: 2.911 MB / 1.062 GB, free: 8.051 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008753/0.8334, allocations: 3.316 MB / 1.066 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007786/0.8412, allocations: 2.96 MB / 1.069 GB, free: 8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001771/0.843, allocations: 165.2 kB / 1.069 GB, free: 8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008102/0.8512, allocations: 2.237 MB / 1.071 GB, free: 8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.854, allocations: 1.07 MB / 1.072 GB, free: 7.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004997/0.8591, allocations: 2.069 MB / 1.074 GB, free: 7.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008521/0.8676, allocations: 5.618 MB / 1.08 GB, free: 6.926 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8676, allocations: 0.5 kB / 1.08 GB, free: 6.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8676, allocations: 0 / 1.08 GB, free: 6.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002066/0.8679, allocations: 0 / 1.08 GB, free: 6.926 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.01197/0.8798, allocations: 4.301 MB / 1.084 GB, free: 20.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.8799, allocations: 9.438 kB / 1.084 GB, free: 20.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006891/0.8868, allocations: 1.273 MB / 1.085 GB, free: 20.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.8977, allocations: 4.262 MB / 1.089 GB, free: 19.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/0.898, allocations: 184 kB / 1.089 GB, free: 19.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009546/0.899, allocations: 233.8 kB / 1.09 GB, free: 19.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005795/0.9048, allocations: 2.737 MB / 1.092 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.9049, allocations: 2.719 kB / 1.092 GB, free: 19.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.9051, allocations: 94.16 kB / 1.092 GB, free: 19.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.9051, allocations: 51.72 kB / 1.092 GB, free: 19.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004824/0.91, allocations: 2.002 MB / 1.094 GB, free: 19.25 MB / 0.7136 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.01911/0.9291, allocations: 12.4 MB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003688/0.9328, allocations: 1.592 MB / 1.108 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.9345, allocations: 0.7554 MB / 1.109 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00787/0.9424, allocations: 4.05 MB / 1.113 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.9425, allocations: 45.81 kB / 1.113 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001897/0.9444, allocations: 200.4 kB / 1.113 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 7.133e-06/0.9444, allocations: 0 / 1.113 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.01089/0.9553, allocations: 3.144 MB / 1.116 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.9554, allocations: 64.12 kB / 1.116 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/0.9604, allocations: 3.378 MB / 1.119 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004231/0.9608, allocations: 59.39 kB / 1.119 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.9621, allocations: 1.754 MB / 1.121 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/0.9625, allocations: 390.8 kB / 1.121 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.9626, allocations: 34.44 kB / 1.121 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.9628, allocations: 378.7 kB / 1.122 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.9651, allocations: 1.192 MB / 1.123 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.9678, allocations: 1.902 MB / 1.125 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004962/0.9728, allocations: 3.006 MB / 1.128 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.9729, allocations: 5.656 kB / 1.128 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007974/0.9809, allocations: 3.816 MB / 1.132 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005035/0.9814, allocations: 0.6274 MB / 1.132 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.9814, allocations: 20.94 kB / 1.132 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001752/0.9832, allocations: 0.7236 MB / 1.133 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.9851, allocations: 437.3 kB / 1.133 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.9876, allocations: 2.749 MB / 1.136 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/0.9915, allocations: 209.2 kB / 1.136 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005379/0.9921, allocations: 152.2 kB / 1.136 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9921, allocations: 5.031 kB / 1.136 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006508/0.9986, allocations: 3.136 MB / 1.139 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.121e-05/0.9987, allocations: 18.78 kB / 1.139 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/1.001, allocations: 0.846 MB / 1.14 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.003, allocations: 395.4 kB / 1.141 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/1.02, allocations: 12.43 MB / 1.153 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/1.023, allocations: 206 kB / 1.153 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004916/1.024, allocations: 132 kB / 1.153 GB, free: 9.547 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.002328/1.026, allocations: 0.8574 MB / 1.154 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009526/1.027, allocations: 363 kB / 1.154 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00659/1.033, allocations: 2.699 MB / 1.157 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/1.034, allocations: 19.98 kB / 1.157 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.034, allocations: 4 kB / 1.157 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/1.034, allocations: 7.969 kB / 1.157 GB, free: 7.973 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.01226/1.046, allocations: 4.905 MB / 1.162 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.046, allocations: 0 / 1.162 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.047, allocations: 249.6 kB / 1.162 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009884/1.048, allocations: 393.1 kB / 1.162 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/1.048, allocations: 40.53 kB / 1.162 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.05, allocations: 2.626 MB / 1.165 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.05, allocations: 7.344 kB / 1.165 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006104/1.057, allocations: 2.446 MB / 1.167 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/1.059, allocations: 0.5931 MB / 1.168 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006487/1.059, allocations: 22.06 kB / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.061, allocations: 200.5 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/1.062, allocations: 96.91 kB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.062, allocations: 70.81 kB / 1.168 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003837/1.066, allocations: 2.254 MB / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.066, allocations: 0 / 1.17 GB, free: 13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007463/1.073, allocations: 1.763 MB / 1.172 GB, free: 11.34 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.001971/1.075, allocations: 0.681 MB / 1.173 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.085, allocations: 4.437 MB / 1.177 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.085, allocations: 3.938 kB / 1.177 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/1.088, allocations: 0.907 MB / 1.178 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009938/1.098, allocations: 1.712 MB / 1.18 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.111, allocations: 7.463 MB / 1.187 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/1.113, allocations: 2.237 MB / 1.189 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.114, allocations: 295.2 kB / 1.19 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of SimCode: time 1.362e-06/1.114, allocations: 0 / 1.19 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of Templates: time 0.1581/1.272, allocations: 129.3 MB / 1.316 GB, free: 8.953 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)