Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.544/1.544, 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.001124/0.001124, allocations: 184 kB / 326.5 MB, free: 2.25 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.795/1.795, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009608/0.0009611, allocations: 95.62 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 11.56 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2487, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.09548/0.3443, allocations: 109.3 MB / 1.007 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0362/0.3805, allocations: 21.53 MB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006705/0.3873, allocations: 107.2 kB / 1.028 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006712/0.3941, allocations: 1.465 MB / 1.029 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01582/0.4099, allocations: 4.079 MB / 1.033 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.4207, allocations: 3.102 MB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01139/0.4321, allocations: 5.037 MB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004423/0.4366, allocations: 2.251 MB / 1.044 GB, free: 12.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006312/0.4429, allocations: 2.417 MB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003723/0.4467, allocations: 1.559 MB / 1.047 GB, free: 8.664 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005696/0.4473, allocations: 128 kB / 1.048 GB, free: 8.539 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006619/0.4539, allocations: 1.865 MB / 1.049 GB, free: 6.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.4551, allocations: 0.5563 MB / 1.05 GB, free: 6.113 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.457, allocations: 0.7227 MB / 1.051 GB, free: 5.383 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008717/0.4657, allocations: 4.594 MB / 1.055 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4657, allocations: 0 / 1.055 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/0.4658, allocations: 4 kB / 1.055 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001551/0.4659, allocations: 0 / 1.055 GB, free: 0.7734 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.5447/1.011, allocations: 3.376 MB / 1.058 GB, free: 147.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.011, allocations: 10.66 kB / 1.058 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009814/1.012, allocations: 324.8 kB / 1.059 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009643/1.021, allocations: 1.362 MB / 1.06 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006706/1.028, allocations: 2.673 MB / 1.063 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/1.028, allocations: 254.1 kB / 1.063 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/1.029, allocations: 237.6 kB / 1.063 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007734/1.037, allocations: 3.107 MB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.335e-05/1.037, allocations: 6.938 kB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003017/1.037, allocations: 99.19 kB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/1.037, allocations: 71.48 kB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009792/1.047, allocations: 2.77 MB / 1.069 GB, free: 146.3 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.02241/1.069, allocations: 13.34 MB / 1.082 GB, free: 137.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/1.074, allocations: 1.422 MB / 1.084 GB, free: 136.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/1.075, allocations: 1.787 MB / 1.085 GB, free: 134.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00348/1.079, allocations: 1.139 MB / 1.086 GB, free: 133.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 1.256e-05/1.079, allocations: 0 / 1.086 GB, free: 133.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.02164/1.1, allocations: 4.242 MB / 1.091 GB, free: 131.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002721/1.101, allocations: 0.585 MB / 1.091 GB, free: 131 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00867/1.109, allocations: 2.577 MB / 1.094 GB, free: 129.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000847/1.11, allocations: 62.7 kB / 1.094 GB, free: 129.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00266/1.113, allocations: 1.334 MB / 1.095 GB, free: 128.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.114, allocations: 446 kB / 1.095 GB, free: 128 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005084/1.115, allocations: 36.19 kB / 1.095 GB, free: 128 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002546/1.115, allocations: 377.4 kB / 1.096 GB, free: 127.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004489/1.12, allocations: 0.9652 MB / 1.097 GB, free: 127.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004947/1.125, allocations: 1.541 MB / 1.098 GB, free: 126 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004666/1.129, allocations: 1.102 MB / 1.099 GB, free: 125.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.993e-05/1.129, allocations: 7.875 kB / 1.099 GB, free: 125.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01338/1.143, allocations: 3.103 MB / 1.102 GB, free: 123.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001215/1.144, allocations: 5.026 MB / 1.107 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/1.144, allocations: 11.25 kB / 1.107 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/1.147, allocations: 0.6893 MB / 1.108 GB, free: 117.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.15, allocations: 0.507 MB / 1.108 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/1.152, allocations: 1.793 MB / 1.11 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005721/1.157, allocations: 0.5229 MB / 1.111 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004737/1.158, allocations: 107.8 kB / 1.111 GB, free: 114.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.158, allocations: 4 kB / 1.111 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01124/1.169, allocations: 2.835 MB / 1.114 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.336e-05/1.169, allocations: 15.98 kB / 1.114 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/1.172, allocations: 0.6799 MB / 1.114 GB, free: 111.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/1.174, allocations: 0.5031 MB / 1.115 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/1.177, allocations: 1.795 MB / 1.116 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005418/1.182, allocations: 471.1 kB / 1.117 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004035/1.183, allocations: 103.9 kB / 1.117 GB, free: 108.3 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002164/1.185, allocations: 0.7017 MB / 1.118 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.186, allocations: 268.8 kB / 1.118 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.197, allocations: 2.579 MB / 1.121 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/1.197, allocations: 16 kB / 1.121 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/1.197, allocations: 0 / 1.121 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009191/1.206, allocations: 2.201 MB / 1.123 GB, free: 102.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/1.223, allocations: 6.495 MB / 1.129 GB, free: 95.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/1.223, allocations: 8 kB / 1.129 GB, free: 95.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.225, allocations: 292.2 kB / 1.129 GB, free: 95.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/1.227, allocations: 0.6735 MB / 1.13 GB, free: 94.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/1.227, allocations: 51.91 kB / 1.13 GB, free: 94.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/1.229, allocations: 1.789 MB / 1.132 GB, free: 93.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.229, allocations: 8 kB / 1.132 GB, free: 93.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/1.24, allocations: 4.288 MB / 1.136 GB, free: 88.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002574/1.243, allocations: 0.6613 MB / 1.137 GB, free: 87.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/1.244, allocations: 47.98 kB / 1.137 GB, free: 87.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003949/1.248, allocations: 289 kB / 1.137 GB, free: 87.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/1.249, allocations: 116.6 kB / 1.137 GB, free: 87.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.249, allocations: 75.86 kB / 1.137 GB, free: 87.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003831/1.253, allocations: 1.817 MB / 1.139 GB, free: 85.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.11e-07/1.253, allocations: 0 / 1.139 GB, free: 85.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007/1.26, allocations: 1.734 MB / 1.141 GB, free: 83.56 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01363/1.273, allocations: 7.465 MB / 1.148 GB, free: 75.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.285, allocations: 3.594 MB / 1.151 GB, free: 72.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-05/1.285, allocations: 5.125 kB / 1.151 GB, free: 72.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003293/1.288, allocations: 1.046 MB / 1.152 GB, free: 71.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00742/1.295, allocations: 1.371 MB / 1.154 GB, free: 69.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.317, allocations: 15.82 MB / 1.169 GB, free: 53.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/1.318, allocations: 1.761 MB / 1.171 GB, free: 51.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004377/1.323, allocations: 0.6821 MB / 1.172 GB, free: 51.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/1.325, allocations: 1.159 MB / 1.173 GB, free: 49.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/1.325, allocations: 0 / 1.173 GB, free: 49.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1421/1.467, allocations: 89.21 MB / 1.26 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.467, allocations: 299.8 kB / 1.26 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.018/6.485, allocations: 0 / 1.26 GB, free: 8.992 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)