Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 96.62 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002135/0.002134, allocations: 173.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002982, allocations: 12.28 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5334, allocations: 142.4 MB / 0.9552 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.05805/0.5914, allocations: 68.24 MB / 1.022 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01804/0.6095, allocations: 14.39 MB / 1.036 GB, free: 12.47 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.6116, allocations: 63.56 kB / 1.036 GB, free: 12.41 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.6136, allocations: 0.7459 MB / 1.037 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005852/0.6195, allocations: 2.346 MB / 1.039 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.6234, allocations: 1.776 MB / 1.041 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005498/0.6289, allocations: 5.924 MB / 1.046 GB, free: 1.605 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.6304, allocations: 1.281 MB / 1.048 GB, free: 300 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.6326, allocations: 1.439 MB / 1.049 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.6338, allocations: 1.182 MB / 1.05 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.6339, allocations: 68 kB / 1.05 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.6369, allocations: 1.735 MB / 1.052 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.6372, allocations: 330.4 kB / 1.052 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007569/0.638, allocations: 0.8956 MB / 1.053 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.6412, allocations: 3.353 MB / 1.056 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6412, allocations: 3.938 kB / 1.056 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6412, allocations: 0 / 1.056 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.6412, allocations: 0 / 1.056 GB, free: 7.258 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00311/0.6443, allocations: 1.92 MB / 1.058 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6444, allocations: 12.03 kB / 1.058 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/0.6446, allocations: 181.5 kB / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/0.6501, allocations: 0.7437 MB / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.6522, allocations: 1.553 MB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.6524, allocations: 132 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.6526, allocations: 120 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/0.6562, allocations: 1.66 MB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.6562, allocations: 7.938 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.6564, allocations: 48 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.6564, allocations: 35.94 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004603/0.661, allocations: 1.499 MB / 1.064 GB, free: 15.11 MB / 0.8262 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.008669/0.6697, allocations: 7.022 MB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.6718, allocations: 0.7478 MB / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.6735, allocations: 0.5099 MB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.6747, allocations: 1.271 MB / 1.074 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6747, allocations: 43.12 kB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=68): time 2.294e-06/0.6748, allocations: 0 / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68): time 0.02056/0.6953, allocations: 3.129 MB / 1.077 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.6954, allocations: 111.4 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.6972, allocations: 1.37 MB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-05/0.6973, allocations: 41.7 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/0.6978, allocations: 0.6879 MB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.698, allocations: 248.5 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.6982, allocations: 77.67 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6983, allocations: 349.9 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.7002, allocations: 0.5172 MB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.7024, allocations: 0.794 MB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/0.706, allocations: 1.168 MB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.706, allocations: 4 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004932/0.711, allocations: 1.601 MB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.7112, allocations: 280.8 kB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.7112, allocations: 8 kB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/0.7129, allocations: 483.8 kB / 1.084 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.7143, allocations: 271.6 kB / 1.084 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.7159, allocations: 0.9952 MB / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.7182, allocations: 278.6 kB / 1.086 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.7183, allocations: 55.89 kB / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.7183, allocations: 9.5 kB / 1.086 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004698/0.723, allocations: 1.445 MB / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.723, allocations: 8.5 kB / 1.087 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.7246, allocations: 492.1 kB / 1.088 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.7259, allocations: 263.8 kB / 1.088 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.7275, allocations: 1 MB / 1.089 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.7295, allocations: 250.8 kB / 1.089 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.7296, allocations: 55.94 kB / 1.089 GB, free: 4.512 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006529/0.7303, allocations: 448.8 kB / 1.09 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.7305, allocations: 142.3 kB / 1.09 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.7347, allocations: 1.336 MB / 1.091 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.7348, allocations: 8 kB / 1.091 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7348, allocations: 0 / 1.091 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003708/0.7385, allocations: 1.151 MB / 1.092 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006793/0.7453, allocations: 3.1 MB / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.7453, allocations: 4 kB / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009057/0.7462, allocations: 155.9 kB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.7478, allocations: 489.2 kB / 1.096 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.7479, allocations: 27.97 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.7495, allocations: 0.9957 MB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.7495, allocations: 11.94 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005657/0.7552, allocations: 1.971 MB / 1.099 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/0.7557, allocations: 395 kB / 1.099 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.7559, allocations: 19.98 kB / 1.099 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.7576, allocations: 155.8 kB / 1.099 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.7577, allocations: 64.23 kB / 1.099 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/0.7578, allocations: 43.95 kB / 1.099 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001414/0.7592, allocations: 0.9816 MB / 1.1 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7592, allocations: 3.938 kB / 1.1 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002034/0.7613, allocations: 0.889 MB / 1.101 GB, free: 7.848 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00692/0.7682, allocations: 2.944 MB / 1.104 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006198/0.7744, allocations: 1.877 MB / 1.106 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.7744, allocations: 3.781 kB / 1.106 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.7762, allocations: 0.5334 MB / 1.106 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/0.7806, allocations: 0.8042 MB / 1.107 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02828/0.8089, allocations: 13.55 MB / 1.12 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.8097, allocations: 1.211 MB / 1.122 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001603/0.8113, allocations: 366.8 kB / 1.122 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/0.8121, allocations: 0.5812 MB / 1.123 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of SimCode: time 7.21e-07/0.8121, allocations: 0 / 1.123 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.795/3.607, allocations: 50.67 MB / 1.172 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003538/3.608, allocations: 297 kB / 1.172 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.026/7.634, allocations: 1.719 kB / 1.172 GB, free: 14.78 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)