Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.927/1.927, allocations: 288.2 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 181 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009986/0.0009982, allocations: 98.86 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006198/0.0006202, allocations: 18.75 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.315, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.08611/0.4012, allocations: 88.43 MB / 1.066 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.6759/1.077, allocations: 32.12 MB / 1.097 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008392/1.086, allocations: 135.9 kB / 1.097 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.009001/1.095, allocations: 1.957 MB / 1.099 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02331/1.118, allocations: 5.043 MB / 1.104 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02087/1.139, allocations: 5.757 MB / 1.11 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01626/1.155, allocations: 5.787 MB / 1.115 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008412/1.164, allocations: 2.67 MB / 1.118 GB, free: 26.81 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/1.174, allocations: 2.959 MB / 1.121 GB, free: 26.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005865/1.18, allocations: 1.987 MB / 1.123 GB, free: 26.22 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001065/1.181, allocations: 161.8 kB / 1.123 GB, free: 26.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007356/1.188, allocations: 1.745 MB / 1.125 GB, free: 26.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001489/1.19, allocations: 0.9568 MB / 1.126 GB, free: 26.03 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002719/1.193, allocations: 0.8528 MB / 1.126 GB, free: 25.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/1.204, allocations: 5.442 MB / 1.132 GB, free: 23.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.204, allocations: 0 / 1.132 GB, free: 23.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/1.204, allocations: 1 kB / 1.132 GB, free: 23.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003238/1.204, allocations: 0 / 1.132 GB, free: 23.23 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.01784/1.222, allocations: 4.334 MB / 1.136 GB, free: 20.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/1.222, allocations: 8.688 kB / 1.136 GB, free: 20.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001429/1.224, allocations: 288.5 kB / 1.136 GB, free: 20.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009895/1.234, allocations: 1.274 MB / 1.138 GB, free: 19.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01856/1.252, allocations: 4.133 MB / 1.142 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006682/1.253, allocations: 192.6 kB / 1.142 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/1.255, allocations: 230.1 kB / 1.142 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/1.267, allocations: 2.676 MB / 1.145 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/1.268, allocations: 5.25 kB / 1.145 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008917/1.268, allocations: 87 kB / 1.145 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/1.269, allocations: 57.8 kB / 1.145 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008867/1.277, allocations: 1.936 MB / 1.147 GB, free: 14.02 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.03374/1.311, allocations: 12.33 MB / 1.159 GB, free: 3.445 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/1.317, allocations: 1.518 MB / 1.16 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/1.331, allocations: 4.063 MB / 1.164 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/1.331, allocations: 43.19 kB / 1.164 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002958/1.334, allocations: 213.1 kB / 1.164 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 9.889e-06/1.334, allocations: 0 / 1.164 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.01328/1.347, allocations: 3.053 MB / 1.167 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/1.347, allocations: 60.44 kB / 1.167 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009692/1.357, allocations: 3.387 MB / 1.171 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009807/1.358, allocations: 62.14 kB / 1.171 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.361, allocations: 1.766 MB / 1.173 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.362, allocations: 388 kB / 1.173 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/1.362, allocations: 34 kB / 1.173 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002271/1.362, allocations: 376.9 kB / 1.173 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002789/1.365, allocations: 0.836 MB / 1.174 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00355/1.368, allocations: 1.533 MB / 1.176 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/1.372, allocations: 0.9936 MB / 1.177 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/1.372, allocations: 2.906 kB / 1.177 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.009493/1.381, allocations: 2.892 MB / 1.179 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003788/1.385, allocations: 8.116 MB / 1.187 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.616e-05/1.385, allocations: 19.98 kB / 1.187 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/1.387, allocations: 403.1 kB / 1.188 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/1.39, allocations: 439.3 kB / 1.188 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/1.393, allocations: 2.752 MB / 1.191 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/1.399, allocations: 215.8 kB / 1.191 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007595/1.4, allocations: 159.9 kB / 1.191 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.4, allocations: 4 kB / 1.191 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008995/1.409, allocations: 3.102 MB / 1.194 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/1.409, allocations: 23.94 kB / 1.194 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003433/1.412, allocations: 0.8427 MB / 1.195 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/1.415, allocations: 415.3 kB / 1.195 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02382/1.438, allocations: 12.9 MB / 1.208 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/1.444, allocations: 199.7 kB / 1.208 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007439/1.444, allocations: 136 kB / 1.208 GB, free: 5.527 MB / 0.7448 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 (207): * Single equations (assignments): 199 * 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.003335/1.448, allocations: 0.8674 MB / 1.209 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/1.449, allocations: 359.3 kB / 1.21 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008757/1.458, allocations: 2.684 MB / 1.212 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/1.458, allocations: 16 kB / 1.212 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.458, allocations: 4 kB / 1.212 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.458, allocations: 7.969 kB / 1.212 GB, free: 1.562 MB / 0.7448 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.01456/1.473, allocations: 5.059 MB / 1.217 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.473, allocations: 0 / 1.217 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.474, allocations: 255.7 kB / 1.217 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/1.476, allocations: 386.2 kB / 1.218 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/1.476, allocations: 47.95 kB / 1.218 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/1.478, allocations: 2.627 MB / 1.22 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.478, allocations: 4.031 kB / 1.22 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007782/1.486, allocations: 2.495 MB / 1.223 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003699/1.49, allocations: 0.6171 MB / 1.223 GB, free: 5.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006512/1.49, allocations: 20 kB / 1.223 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.493, allocations: 207.5 kB / 1.224 GB, free: 5.539 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/1.493, allocations: 89.19 kB / 1.224 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002223/1.494, allocations: 71.92 kB / 1.224 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.005323/1.499, allocations: 2.254 MB / 1.226 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.144e-06/1.499, allocations: 0 / 1.226 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01064/1.51, allocations: 1.849 MB / 1.228 GB, free: 1.273 MB / 0.7605 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.0092/1.519, allocations: 3.7 MB / 1.231 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.532, allocations: 4.047 MB / 1.235 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.532, allocations: 1.938 kB / 1.235 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003164/1.535, allocations: 0.8781 MB / 1.236 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0142/1.549, allocations: 1.708 MB / 1.238 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/1.58, allocations: 20.97 MB / 1.258 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/1.583, allocations: 2.308 MB / 1.261 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.007462/1.591, allocations: 0.9003 MB / 1.262 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004211/1.595, allocations: 1.628 MB / 1.263 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of SimCode: time 1.733e-06/1.595, allocations: 0 / 1.263 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.265/1.86, allocations: 109.3 MB / 1.37 GB, free: 220 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003276/1.861, allocations: 268.8 kB / 1.37 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.535/7.396, allocations: 2.953 kB / 1.37 GB, free: 15.86 MB / 0.9167 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)