Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.504/1.504, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001216/0.001216, allocations: 181.2 kB / 326.5 MB, free: 2.246 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.872/1.872, allocations: 205.4 MB / 0.5775 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.0009013/0.0009011, allocations: 82.33 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004937, allocations: 9 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.04224/0.2745, allocations: 58.51 MB / 0.9573 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.2911, allocations: 12.34 MB / 0.9693 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.294, allocations: 55.62 kB / 0.9694 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003745/0.2978, allocations: 0.7889 MB / 0.9702 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007489/0.3054, allocations: 2.172 MB / 0.9723 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006109/0.3115, allocations: 1.898 MB / 0.9741 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005616/0.3171, allocations: 2.633 MB / 0.9767 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/0.3197, allocations: 1.149 MB / 0.9778 GB, free: 112 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.3232, allocations: 1.253 MB / 0.979 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.3253, allocations: 0.8127 MB / 0.9798 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.3259, allocations: 68 kB / 0.9799 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004155/0.3301, allocations: 1.268 MB / 0.9811 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007196/0.3308, allocations: 298.8 kB / 0.9814 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.3319, allocations: 396.8 kB / 0.9818 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.3366, allocations: 2.478 MB / 0.9842 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3367, allocations: 0 / 0.9842 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3367, allocations: 0 / 0.9842 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001039/0.3368, allocations: 0 / 0.9842 GB, free: 9.527 MB / 0.6355 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.005021/0.3418, allocations: 1.932 MB / 0.9861 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3419, allocations: 8.031 kB / 0.9861 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004357/0.3423, allocations: 177.4 kB / 0.9863 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/0.3481, allocations: 0.7393 MB / 0.987 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.3516, allocations: 1.429 MB / 0.9884 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/0.3518, allocations: 128 kB / 0.9885 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.3523, allocations: 123.9 kB / 0.9887 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004587/0.3569, allocations: 1.621 MB / 0.9902 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.3569, allocations: 7.938 kB / 0.9902 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.3571, allocations: 51.98 kB / 0.9903 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/0.3572, allocations: 36 kB / 0.9903 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004945/0.3621, allocations: 1.488 MB / 0.9918 GB, free: 1.555 MB / 0.6355 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.01128/0.3735, allocations: 7.05 MB / 0.9987 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.3757, allocations: 0.7513 MB / 0.9994 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/0.3771, allocations: 1.274 MB / 1.001 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.3771, allocations: 43.12 kB / 1.001 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=68): time 2.906e-06/0.3772, allocations: 0 / 1.001 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68): time 0.02033/0.3975, allocations: 3.103 MB / 1.004 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.3976, allocations: 115.4 kB / 1.004 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.4004, allocations: 1.397 MB / 1.005 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.4006, allocations: 45.7 kB / 1.005 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006814/0.4013, allocations: 0.6878 MB / 1.006 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.4016, allocations: 240.6 kB / 1.006 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/0.4017, allocations: 16 kB / 1.006 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4019, allocations: 341.9 kB / 1.006 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.4039, allocations: 0.5133 MB / 1.007 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.4061, allocations: 0.7901 MB / 1.008 GB, free: 368 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.4083, allocations: 0.5653 MB / 1.008 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.4083, allocations: 4 kB / 1.008 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01265/0.421, allocations: 2.156 MB / 1.01 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009345/0.4219, allocations: 2.477 MB / 1.013 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.422, allocations: 4 kB / 1.013 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/0.4239, allocations: 474.2 kB / 1.013 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.4255, allocations: 271.5 kB / 1.014 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.4272, allocations: 0.9952 MB / 1.015 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.4299, allocations: 286.5 kB / 1.015 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/0.4302, allocations: 63.88 kB / 1.015 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4302, allocations: 7.938 kB / 1.015 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01231/0.4425, allocations: 1.999 MB / 1.017 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.4426, allocations: 8 kB / 1.017 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.4443, allocations: 461.7 kB / 1.017 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.4458, allocations: 267.6 kB / 1.018 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.4475, allocations: 0.9963 MB / 1.018 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.4501, allocations: 251.5 kB / 1.019 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/0.4503, allocations: 55.95 kB / 1.019 GB, free: 4.852 MB / 0.6667 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 ($PRE.heaPum.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001092/0.4514, allocations: 454.2 kB / 1.019 GB, free: 4.398 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/0.4519, allocations: 146.2 kB / 1.019 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.4565, allocations: 1.334 MB / 1.021 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.4565, allocations: 7.984 kB / 1.021 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4565, allocations: 4 kB / 1.021 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003752/0.4603, allocations: 1.147 MB / 1.022 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008272/0.4686, allocations: 3.077 MB / 1.025 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.4686, allocations: 4 kB / 1.025 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009407/0.4696, allocations: 155.9 kB / 1.025 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.4712, allocations: 459.3 kB / 1.025 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.4713, allocations: 31.97 kB / 1.025 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.4729, allocations: 0.9925 MB / 1.026 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/0.473, allocations: 12 kB / 1.026 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006141/0.4791, allocations: 2.245 MB / 1.029 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.4802, allocations: 402.9 kB / 1.029 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004255/0.4807, allocations: 24 kB / 1.029 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/0.4826, allocations: 155.9 kB / 1.029 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.4828, allocations: 60.25 kB / 1.029 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.4829, allocations: 43.95 kB / 1.029 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002083/0.485, allocations: 1.013 MB / 1.03 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.485, allocations: 0 / 1.03 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003649/0.4887, allocations: 0.932 MB / 1.031 GB, free: 7.699 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00881/0.4975, allocations: 4.445 MB / 1.035 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006656/0.5042, allocations: 1.861 MB / 1.037 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.5042, allocations: 0 / 1.037 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.5062, allocations: 0.5337 MB / 1.038 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00458/0.5108, allocations: 0.776 MB / 1.039 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.5222, allocations: 8.24 MB / 1.047 GB, free: 7.484 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.5233, allocations: 1.245 MB / 1.048 GB, free: 6.211 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002085/0.5254, allocations: 364.2 kB / 1.048 GB, free: 5.852 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009655/0.5264, allocations: 0.5773 MB / 1.049 GB, free: 5.273 MB / 0.698 GB Notification: Performance of SimCode: time 1.884e-06/0.5264, allocations: 0 / 1.049 GB, free: 5.273 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5228/1.049, allocations: 49.8 MB / 1.097 GB, free: 122.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/1.049, allocations: 283.7 kB / 1.098 GB, free: 121.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.665/4.715, allocations: 6.719 kB / 1.098 GB, free: 121.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)