Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",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.408/1.408, 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.001191/0.001191, allocations: 191.2 kB / 326.5 MB, free: 2.234 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.894/1.894, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001056/0.001055, allocations: 90.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 9.406 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2386, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.08627/0.3249, allocations: 109.4 MB / 1.007 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03439/0.3593, allocations: 21.47 MB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005644/0.365, allocations: 115.2 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006068/0.3711, allocations: 1.45 MB / 1.029 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01554/0.3867, allocations: 4.077 MB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01118/0.3979, allocations: 3.106 MB / 1.036 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01235/0.4103, allocations: 5.048 MB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00487/0.4152, allocations: 2.262 MB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007174/0.4224, allocations: 2.413 MB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/0.427, allocations: 1.563 MB / 1.047 GB, free: 8.613 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.4283, allocations: 136 kB / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007295/0.4356, allocations: 1.861 MB / 1.049 GB, free: 6.617 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.4373, allocations: 0.5602 MB / 1.05 GB, free: 6.055 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.4396, allocations: 0.7305 MB / 1.051 GB, free: 5.316 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009667/0.4493, allocations: 4.61 MB / 1.055 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4493, allocations: 0 / 1.055 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.13e-06/0.4494, allocations: 0 / 1.055 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000287/0.4496, allocations: 0 / 1.055 GB, free: 0.6953 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.5144/0.964, allocations: 3.4 MB / 1.059 GB, free: 147.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.9641, allocations: 8.781 kB / 1.059 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/0.9651, allocations: 324.6 kB / 1.059 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.9809, allocations: 1.445 MB / 1.06 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008165/0.9892, allocations: 2.69 MB / 1.063 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004075/0.9896, allocations: 254.8 kB / 1.063 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007446/0.9904, allocations: 242.6 kB / 1.063 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/1.003, allocations: 3.175 MB / 1.066 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.169e-05/1.004, allocations: 7.094 kB / 1.066 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004747/1.004, allocations: 101.9 kB / 1.067 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/1.004, allocations: 65.08 kB / 1.067 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/1.02, allocations: 2.891 MB / 1.069 GB, free: 146.2 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.02345/1.044, allocations: 13.5 MB / 1.083 GB, free: 137 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/1.048, allocations: 1.52 MB / 1.084 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.05, allocations: 1.797 MB / 1.086 GB, free: 134.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003636/1.053, allocations: 1.206 MB / 1.087 GB, free: 133.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 5.15e-06/1.053, allocations: 0 / 1.087 GB, free: 133.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.03905/1.092, allocations: 5.987 MB / 1.093 GB, free: 130.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/1.093, allocations: 0.5732 MB / 1.093 GB, free: 129.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/1.097, allocations: 2.58 MB / 1.096 GB, free: 128.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004517/1.098, allocations: 61.58 kB / 1.096 GB, free: 128.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000945/1.099, allocations: 1.355 MB / 1.097 GB, free: 127.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004601/1.099, allocations: 457 kB / 1.098 GB, free: 126.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.099, allocations: 39.91 kB / 1.098 GB, free: 126.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/1.1, allocations: 373.6 kB / 1.098 GB, free: 126.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/1.103, allocations: 1.02 MB / 1.099 GB, free: 125.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003894/1.107, allocations: 1.597 MB / 1.101 GB, free: 124.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003735/1.111, allocations: 1.155 MB / 1.102 GB, free: 124.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/1.111, allocations: 3.969 kB / 1.102 GB, free: 124.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02077/1.132, allocations: 4.143 MB / 1.106 GB, free: 120.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001042/1.133, allocations: 5.024 MB / 1.111 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/1.133, allocations: 19.25 kB / 1.111 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/1.136, allocations: 0.9155 MB / 1.112 GB, free: 113.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/1.139, allocations: 0.5109 MB / 1.112 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/1.142, allocations: 1.99 MB / 1.114 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005242/1.147, allocations: 0.5345 MB / 1.115 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/1.147, allocations: 107.9 kB / 1.115 GB, free: 110.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.147, allocations: 4 kB / 1.115 GB, free: 110.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02026/1.168, allocations: 3.867 MB / 1.119 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.71e-05/1.168, allocations: 12 kB / 1.119 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/1.171, allocations: 0.9143 MB / 1.119 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/1.174, allocations: 0.5031 MB / 1.12 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/1.177, allocations: 1.99 MB / 1.122 GB, free: 103.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/1.182, allocations: 485.8 kB / 1.122 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004423/1.182, allocations: 103.9 kB / 1.122 GB, free: 102.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001716/1.184, allocations: 0.6997 MB / 1.123 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008988/1.185, allocations: 264.8 kB / 1.123 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.196, allocations: 2.587 MB / 1.126 GB, free: 99.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/1.196, allocations: 19.95 kB / 1.126 GB, free: 99.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/1.196, allocations: 1.25 kB / 1.126 GB, free: 99.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009735/1.206, allocations: 2.182 MB / 1.128 GB, free: 97.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02975/1.236, allocations: 7.586 MB / 1.135 GB, free: 89.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/1.236, allocations: 8 kB / 1.135 GB, free: 89.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/1.238, allocations: 292 kB / 1.136 GB, free: 88.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003497/1.241, allocations: 0.897 MB / 1.137 GB, free: 88.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004509/1.242, allocations: 51.94 kB / 1.137 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003302/1.245, allocations: 1.985 MB / 1.139 GB, free: 85.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.245, allocations: 15.98 kB / 1.139 GB, free: 85.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/1.258, allocations: 4.449 MB / 1.143 GB, free: 81.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/1.26, allocations: 0.6845 MB / 1.144 GB, free: 80.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/1.261, allocations: 35.98 kB / 1.144 GB, free: 80.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004125/1.265, allocations: 292.8 kB / 1.144 GB, free: 80.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/1.266, allocations: 124.6 kB / 1.144 GB, free: 79.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.266, allocations: 67.92 kB / 1.144 GB, free: 79.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00428/1.27, allocations: 1.817 MB / 1.146 GB, free: 78.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.01e-07/1.27, allocations: 0 / 1.146 GB, free: 78.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009666/1.28, allocations: 1.739 MB / 1.148 GB, free: 76.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01633/1.296, allocations: 7.589 MB / 1.155 GB, free: 68.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.31, allocations: 3.759 MB / 1.159 GB, free: 64.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-05/1.31, allocations: 5.125 kB / 1.159 GB, free: 64.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003988/1.314, allocations: 1.098 MB / 1.16 GB, free: 63.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007946/1.322, allocations: 1.401 MB / 1.161 GB, free: 62.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.343, allocations: 15.67 MB / 1.176 GB, free: 45.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/1.344, allocations: 1.769 MB / 1.178 GB, free: 44.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00467/1.349, allocations: 0.6837 MB / 1.179 GB, free: 43.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/1.351, allocations: 1.151 MB / 1.18 GB, free: 42.36 MB / 0.698 GB Notification: Performance of SimCode: time 1.653e-06/1.351, allocations: 0 / 1.18 GB, free: 42.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/1.495, allocations: 91.79 MB / 1.27 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/1.496, allocations: 283.7 kB / 1.27 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.217/6.712, allocations: 4 kB / 1.27 GB, free: 14.78 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)