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.767/1.767, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.001095/0.001095, allocations: 184.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.321/2.321, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0009364/0.0009364, allocations: 104.7 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004511, allocations: 11.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.294, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.7616/1.056, allocations: 97.16 MB / 1.075 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06186/1.118, allocations: 34.41 MB / 1.108 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008784/1.126, allocations: 141.1 kB / 1.108 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006647/1.133, allocations: 1.336 MB / 1.11 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01725/1.15, allocations: 3.99 MB / 1.113 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01201/1.162, allocations: 2.901 MB / 1.116 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01976/1.182, allocations: 10.74 MB / 1.127 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007026/1.189, allocations: 2.632 MB / 1.129 GB, free: 22.42 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/1.2, allocations: 3.215 MB / 1.132 GB, free: 21.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008594/1.209, allocations: 2.793 MB / 1.135 GB, free: 19.94 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001973/1.211, allocations: 169.3 kB / 1.135 GB, free: 19.94 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009054/1.22, allocations: 1.828 MB / 1.137 GB, free: 19.08 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002836/1.223, allocations: 1.04 MB / 1.138 GB, free: 18.39 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003328/1.226, allocations: 0.8558 MB / 1.139 GB, free: 17.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/1.237, allocations: 5.575 MB / 1.144 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/1.237, allocations: 0 / 1.144 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.33e-06/1.237, allocations: 1 kB / 1.144 GB, free: 14.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002824/1.238, allocations: 4 kB / 1.144 GB, free: 14.2 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.01372/1.251, allocations: 4.356 MB / 1.149 GB, free: 11.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.251, allocations: 10.41 kB / 1.149 GB, free: 11.22 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/1.252, allocations: 291 kB / 1.149 GB, free: 10.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007347/1.26, allocations: 1.274 MB / 1.15 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/1.271, allocations: 4.119 MB / 1.154 GB, free: 7.629 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/1.272, allocations: 185.2 kB / 1.154 GB, free: 7.547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007454/1.272, allocations: 238.2 kB / 1.155 GB, free: 7.469 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005626/1.278, allocations: 2.723 MB / 1.157 GB, free: 5.766 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/1.278, allocations: 3.406 kB / 1.157 GB, free: 5.766 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/1.278, allocations: 80.47 kB / 1.157 GB, free: 5.703 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/1.278, allocations: 52.94 kB / 1.157 GB, free: 5.703 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004979/1.283, allocations: 1.992 MB / 1.159 GB, free: 4.727 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.02206/1.305, allocations: 12.41 MB / 1.172 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003794/1.309, allocations: 1.602 MB / 1.173 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/1.311, allocations: 0.7467 MB / 1.174 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009488/1.321, allocations: 4.069 MB / 1.178 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/1.321, allocations: 49.88 kB / 1.178 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002583/1.323, allocations: 196.7 kB / 1.178 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=111): time 1.546e-05/1.323, allocations: 0 / 1.178 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111): time 0.01187/1.335, allocations: 3.14 MB / 1.181 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/1.335, allocations: 64.41 kB / 1.181 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006428/1.342, allocations: 3.351 MB / 1.184 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007386/1.343, allocations: 53.7 kB / 1.184 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/1.344, allocations: 1.762 MB / 1.186 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006877/1.345, allocations: 388.9 kB / 1.187 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.345, allocations: 32 kB / 1.187 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001943/1.345, allocations: 377.9 kB / 1.187 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/1.348, allocations: 0.8666 MB / 1.188 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/1.35, allocations: 1.562 MB / 1.189 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/1.352, allocations: 1.017 MB / 1.19 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/1.353, allocations: 4 kB / 1.19 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.007187/1.36, allocations: 2.933 MB / 1.193 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005903/1.36, allocations: 0.6252 MB / 1.194 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/1.36, allocations: 16 kB / 1.194 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/1.362, allocations: 399.1 kB / 1.194 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/1.364, allocations: 431.3 kB / 1.195 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/1.367, allocations: 2.762 MB / 1.197 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/1.371, allocations: 215.3 kB / 1.198 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004833/1.371, allocations: 155.9 kB / 1.198 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.371, allocations: 4 kB / 1.198 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006937/1.378, allocations: 3.146 MB / 1.201 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/1.378, allocations: 20 kB / 1.201 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/1.381, allocations: 0.8586 MB / 1.202 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/1.383, allocations: 407.3 kB / 1.202 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/1.402, allocations: 12.38 MB / 1.214 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/1.407, allocations: 195.9 kB / 1.214 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000703/1.407, allocations: 140 kB / 1.214 GB, free: 14.94 MB / 0.7605 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.002765/1.41, allocations: 0.865 MB / 1.215 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.411, allocations: 359.3 kB / 1.216 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006873/1.418, allocations: 2.7 MB / 1.218 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/1.418, allocations: 16 kB / 1.218 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.418, allocations: 3.953 kB / 1.218 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.418, allocations: 11.97 kB / 1.218 GB, free: 10.96 MB / 0.7605 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.01248/1.431, allocations: 4.901 MB / 1.223 GB, free: 6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.431, allocations: 7.938 kB / 1.223 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.432, allocations: 243.8 kB / 1.223 GB, free: 5.754 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009949/1.433, allocations: 396.9 kB / 1.224 GB, free: 5.355 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.433, allocations: 39.97 kB / 1.224 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/1.435, allocations: 2.627 MB / 1.226 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.435, allocations: 7.938 kB / 1.226 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005939/1.441, allocations: 2.437 MB / 1.229 GB, free: 96 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/1.444, allocations: 0.5944 MB / 1.229 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/1.444, allocations: 23.98 kB / 1.229 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/1.446, allocations: 198.1 kB / 1.229 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/1.446, allocations: 93.14 kB / 1.23 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/1.446, allocations: 71.94 kB / 1.23 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.004084/1.451, allocations: 2.223 MB / 1.232 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.21e-07/1.451, allocations: 0 / 1.232 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008617/1.459, allocations: 1.812 MB / 1.234 GB, free: 11.06 MB / 0.7761 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.007972/1.467, allocations: 3.359 MB / 1.237 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009687/1.477, allocations: 4.113 MB / 1.241 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.477, allocations: 0.75 kB / 1.241 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/1.479, allocations: 0.9133 MB / 1.242 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/1.49, allocations: 1.72 MB / 1.243 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06888/1.559, allocations: 25.9 MB / 1.269 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.561, allocations: 2.241 MB / 1.271 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005125/1.566, allocations: 0.87 MB / 1.272 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002651/1.569, allocations: 1.608 MB / 1.273 GB, free: 144 kB / 0.8073 GB Notification: Performance of SimCode: time 1.583e-06/1.569, allocations: 4 kB / 1.273 GB, free: 140 kB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2063/1.775, allocations: 110.5 MB / 1.381 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/1.775, allocations: 274.5 kB / 1.382 GB, free: 2.145 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.236/8.011, allocations: 0 / 1.382 GB, free: 2.145 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)