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: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 252 MB / 267 MB, free: 10.98 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.001123/0.001123, allocations: 187.1 kB / 326.6 MB, free: 2.211 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.912/1.912, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0007401/0.00074, allocations: 98.45 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003019, allocations: 12.78 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.06998/0.2616, allocations: 97.17 MB / 0.9952 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04584/0.3075, allocations: 34.37 MB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005759/0.3133, allocations: 139 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005015/0.3184, allocations: 1.339 MB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.3304, allocations: 3.988 MB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008786/0.3392, allocations: 2.906 MB / 1.037 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01431/0.3536, allocations: 10.74 MB / 1.047 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004969/0.3586, allocations: 2.629 MB / 1.05 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006807/0.3654, allocations: 3.17 MB / 1.053 GB, free: 2.926 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004837/0.3703, allocations: 2.797 MB / 1.056 GB, free: 120 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.437/0.8073, allocations: 164.4 kB / 1.056 GB, free: 16.87 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00596/0.8133, allocations: 1.784 MB / 1.058 GB, free: 16.87 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001898/0.8153, allocations: 1.037 MB / 1.059 GB, free: 16.87 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.817, allocations: 0.8568 MB / 1.06 GB, free: 16.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008925/0.8259, allocations: 5.527 MB / 1.065 GB, free: 16.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.826, allocations: 0.8125 kB / 1.065 GB, free: 16.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.557e-06/0.826, allocations: 0 / 1.065 GB, free: 16.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002176/0.8262, allocations: 0.625 kB / 1.065 GB, free: 16.61 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.01054/0.8368, allocations: 4.34 MB / 1.069 GB, free: 14.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.8368, allocations: 9.781 kB / 1.069 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007884/0.8376, allocations: 290.9 kB / 1.069 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006794/0.8444, allocations: 1.268 MB / 1.071 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.8553, allocations: 4.114 MB / 1.075 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.8556, allocations: 185 kB / 1.075 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007365/0.8563, allocations: 230.9 kB / 1.075 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005571/0.8619, allocations: 2.722 MB / 1.078 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.862, allocations: 4.812 kB / 1.078 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.8622, allocations: 82.81 kB / 1.078 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/0.8623, allocations: 52.7 kB / 1.078 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/0.8671, allocations: 1.989 MB / 1.08 GB, free: 13.11 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.01783/0.8849, allocations: 12.39 MB / 1.092 GB, free: 22.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.8882, allocations: 1.598 MB / 1.094 GB, free: 22.9 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.8897, allocations: 0.7474 MB / 1.094 GB, free: 22.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006862/0.8966, allocations: 4.045 MB / 1.098 GB, free: 21.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.8966, allocations: 43.59 kB / 1.098 GB, free: 20.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001676/0.8983, allocations: 205.8 kB / 1.098 GB, free: 20.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 4.729e-06/0.8983, allocations: 0 / 1.098 GB, free: 20.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.008545/0.9069, allocations: 3.128 MB / 1.102 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.907, allocations: 65.84 kB / 1.102 GB, free: 20.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/0.9118, allocations: 3.344 MB / 1.105 GB, free: 19.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004521/0.9123, allocations: 59.83 kB / 1.105 GB, free: 19.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/0.9135, allocations: 1.764 MB / 1.107 GB, free: 19.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.9139, allocations: 383.3 kB / 1.107 GB, free: 19.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.9141, allocations: 36.47 kB / 1.107 GB, free: 19.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9142, allocations: 374.7 kB / 1.107 GB, free: 18.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.9163, allocations: 0.8506 MB / 1.108 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.9187, allocations: 1.552 MB / 1.11 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.9208, allocations: 1.007 MB / 1.111 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.9208, allocations: 3.938 kB / 1.111 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007495/0.9283, allocations: 2.896 MB / 1.114 GB, free: 17.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004683/0.9288, allocations: 0.63 MB / 1.114 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/0.9289, allocations: 17.81 kB / 1.114 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.931, allocations: 403.5 kB / 1.115 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/0.9336, allocations: 419.6 kB / 1.115 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003594/0.9372, allocations: 2.759 MB / 1.118 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006389/0.9437, allocations: 209.5 kB / 1.118 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008421/0.9445, allocations: 152 kB / 1.118 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.9446, allocations: 4.875 kB / 1.118 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01094/0.9555, allocations: 3.124 MB / 1.121 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.408e-05/0.9557, allocations: 20 kB / 1.121 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004104/0.9598, allocations: 0.8477 MB / 1.122 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/0.9626, allocations: 401.8 kB / 1.122 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02661/0.9892, allocations: 12.44 MB / 1.134 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006284/0.9956, allocations: 197.2 kB / 1.135 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009186/0.9965, allocations: 132.1 kB / 1.135 GB, free: 8.023 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.004411/1.001, allocations: 0.8562 MB / 1.136 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.003, allocations: 363.3 kB / 1.136 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/1.013, allocations: 2.695 MB / 1.139 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/1.013, allocations: 11.88 kB / 1.139 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.013, allocations: 7.375 kB / 1.139 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/1.013, allocations: 7.969 kB / 1.139 GB, free: 6.809 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 postOpt removeSimpleEquations (simulation): time 0.0177/1.031, allocations: 4.888 MB / 1.143 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.031, allocations: 4.125 kB / 1.143 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.033, allocations: 243.3 kB / 1.144 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/1.035, allocations: 395.8 kB / 1.144 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/1.035, allocations: 47.64 kB / 1.144 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/1.038, allocations: 2.628 MB / 1.147 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.038, allocations: 256 / 1.147 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009857/1.048, allocations: 2.436 MB / 1.149 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/1.051, allocations: 0.5919 MB / 1.15 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001489/1.053, allocations: 25.62 kB / 1.15 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003624/1.056, allocations: 192.9 kB / 1.15 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/1.057, allocations: 93.22 kB / 1.15 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002903/1.057, allocations: 72.62 kB / 1.15 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.006079/1.063, allocations: 2.219 MB / 1.152 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.82e-07/1.063, allocations: 0 / 1.152 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01066/1.074, allocations: 1.767 MB / 1.154 GB, free: 0.7812 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008716/1.082, allocations: 3.329 MB / 1.157 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.093, allocations: 4.086 MB / 1.161 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.093, allocations: 192 / 1.161 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/1.095, allocations: 0.9055 MB / 1.162 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/1.106, allocations: 1.722 MB / 1.164 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07774/1.184, allocations: 25.76 MB / 1.189 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003535/1.187, allocations: 2.247 MB / 1.191 GB, free: 268 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005807/1.193, allocations: 0.8603 MB / 1.192 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002868/1.196, allocations: 1.612 MB / 1.193 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of SimCode: time 1.032e-06/1.196, allocations: 4 kB / 1.193 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1996/1.396, allocations: 110 MB / 1.301 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/1.396, allocations: 285.8 kB / 1.301 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.013/7.409, allocations: 2.734 kB / 1.301 GB, free: 2.137 MB / 0.8542 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)