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.001379/0.001379, allocations: 109.4 kB / 15.69 MB, free: 128 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.002046/0.002045, allocations: 188 kB / 16.62 MB, free: 6.582 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.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.812/1.812, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.002296/0.002296, allocations: 69.91 kB / 0.6722 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2724, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1021/0.3745, allocations: 105.5 MB / 0.8871 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.5455/0.9201, allocations: 36.49 MB / 0.9227 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007086/0.9272, allocations: 166.1 kB / 0.9229 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006461/0.9338, allocations: 2.016 MB / 0.9249 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01653/0.9503, allocations: 4.982 MB / 0.9297 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01141/0.9618, allocations: 3.888 MB / 0.9335 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0194/0.9812, allocations: 9.465 MB / 0.9428 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008397/0.9896, allocations: 3.513 MB / 0.9462 GB, free: 22.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01077/1, allocations: 3.992 MB / 0.9501 GB, free: 22.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006288/1.007, allocations: 3.014 MB / 0.9531 GB, free: 21.81 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001809/1.009, allocations: 414.1 kB / 0.9534 GB, free: 21.81 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008384/1.017, allocations: 2.633 MB / 0.956 GB, free: 21.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002412/1.019, allocations: 1.317 MB / 0.9573 GB, free: 21.6 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.008477/1.028, allocations: 2.34 MB / 0.9596 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01602/1.044, allocations: 7.411 MB / 0.9668 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/1.044, allocations: 0 / 0.9668 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.883e-06/1.044, allocations: 0 / 0.9668 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003267/1.044, allocations: 0 / 0.9668 GB, free: 17.26 MB / 0.7325 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.01512/1.059, allocations: 5.046 MB / 0.9718 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.059, allocations: 8.438 kB / 0.9718 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006467/1.066, allocations: 1.163 MB / 0.9729 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/1.077, allocations: 4.233 MB / 0.977 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/1.077, allocations: 188 kB / 0.9772 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007242/1.078, allocations: 242.3 kB / 0.9774 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006172/1.084, allocations: 2.725 MB / 0.9801 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/1.084, allocations: 3.938 kB / 0.9801 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/1.084, allocations: 87 kB / 0.9802 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/1.084, allocations: 52 kB / 0.9802 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004587/1.089, allocations: 1.953 MB / 0.9821 GB, free: 7.387 MB / 0.7325 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.01836/1.107, allocations: 12.62 MB / 0.9945 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003578/1.111, allocations: 1.539 MB / 0.996 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/1.113, allocations: 0.7083 MB / 0.9967 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00718/1.12, allocations: 3.971 MB / 1.001 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/1.12, allocations: 56.86 kB / 1.001 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=107): time 3.356e-06/1.12, allocations: 0 / 1.001 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.009641/1.13, allocations: 3.019 MB / 1.004 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/1.13, allocations: 63.34 kB / 1.004 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006523/1.136, allocations: 3.439 MB / 1.007 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004367/1.137, allocations: 57.7 kB / 1.007 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/1.138, allocations: 1.769 MB / 1.009 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/1.139, allocations: 368 kB / 1.009 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007633/1.139, allocations: 471.1 kB / 1.01 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.139, allocations: 305.1 kB / 1.01 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/1.142, allocations: 1.18 MB / 1.011 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/1.145, allocations: 1.88 MB / 1.013 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005046/1.15, allocations: 2.958 MB / 1.016 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/1.15, allocations: 8 kB / 1.016 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00772/1.157, allocations: 3.76 MB / 1.019 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.157, allocations: 16.94 kB / 1.019 GB, free: 6.281 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/1.158, allocations: 16 kB / 1.019 GB, free: 6.266 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/1.159, allocations: 0.7255 MB / 1.02 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/1.161, allocations: 427.3 kB / 1.021 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/1.164, allocations: 2.76 MB / 1.023 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/1.167, allocations: 261.7 kB / 1.023 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004278/1.167, allocations: 151.9 kB / 1.024 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003694/1.171, allocations: 1.667 MB / 1.025 GB, free: 172 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002517/1.173, allocations: 1.681 MB / 1.027 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004239/1.178, allocations: 2.589 MB / 1.029 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.425e-05/1.178, allocations: 8 kB / 1.029 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.008005/1.186, allocations: 3.447 MB / 1.033 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.186, allocations: 12 kB / 1.033 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/1.186, allocations: 20 kB / 1.033 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/1.189, allocations: 0.8628 MB / 1.034 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/1.19, allocations: 399.6 kB / 1.034 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/1.209, allocations: 13.82 MB / 1.048 GB, free: 8.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/1.213, allocations: 194.6 kB / 1.048 GB, free: 7.926 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006977/1.214, allocations: 135.8 kB / 1.048 GB, free: 7.797 MB / 0.795 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.001561/1.215, allocations: 295.8 kB / 1.048 GB, free: 7.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/1.217, allocations: 355.3 kB / 1.048 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008034/1.225, allocations: 2.626 MB / 1.051 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/1.225, allocations: 19.94 kB / 1.051 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.225, allocations: 0 / 1.051 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/1.225, allocations: 7.969 kB / 1.051 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/1.238, allocations: 4.831 MB / 1.056 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.239, allocations: 0 / 1.056 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/1.24, allocations: 235.8 kB / 1.056 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/1.241, allocations: 391 kB / 1.056 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/1.241, allocations: 43.95 kB / 1.056 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/1.243, allocations: 2.63 MB / 1.059 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.243, allocations: 7.938 kB / 1.059 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007148/1.25, allocations: 2.408 MB / 1.061 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.253, allocations: 0.5975 MB / 1.062 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/1.254, allocations: 24 kB / 1.062 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/1.256, allocations: 95.84 kB / 1.062 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.257, allocations: 85.19 kB / 1.062 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/1.257, allocations: 67.94 kB / 1.062 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005539/1.262, allocations: 2.304 MB / 1.064 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/1.262, allocations: 0 / 1.064 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008631/1.271, allocations: 1.781 MB / 1.066 GB, free: 4.734 MB / 0.8106 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.002566/1.274, allocations: 0.7548 MB / 1.067 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.285, allocations: 4.471 MB / 1.071 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.285, allocations: 4.062 kB / 1.071 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/1.287, allocations: 0.8976 MB / 1.072 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009802/1.297, allocations: 1.761 MB / 1.074 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/1.312, allocations: 5.921 MB / 1.08 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003815/1.316, allocations: 2.233 MB / 1.082 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004872/1.321, allocations: 0.8561 MB / 1.083 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.322, allocations: 283.2 kB / 1.083 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of SimCode: time 1.072e-06/1.322, allocations: 0 / 1.083 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of Templates: time 0.1374/1.459, allocations: 79.72 MB / 1.161 GB, free: 5.023 MB / 0.9044 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)