Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",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.342/1.342, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001106/0.001106, allocations: 182.9 kB / 326.5 MB, free: 2.242 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.741/1.741, 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.0009316/0.0009317, allocations: 95.66 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 11.69 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2209, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.09219/0.3131, allocations: 109.3 MB / 1.007 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03509/0.3483, allocations: 21.52 MB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005262/0.3537, allocations: 111.2 kB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006009/0.3597, allocations: 1.465 MB / 1.029 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.3742, allocations: 4.072 MB / 1.033 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.3847, allocations: 3.1 MB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01132/0.396, allocations: 5.066 MB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004566/0.4006, allocations: 2.258 MB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006806/0.4075, allocations: 2.421 MB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004686/0.4122, allocations: 1.579 MB / 1.048 GB, free: 8.605 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.4134, allocations: 128 kB / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007869/0.4213, allocations: 1.869 MB / 1.049 GB, free: 6.609 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.4231, allocations: 0.5563 MB / 1.05 GB, free: 6.051 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.4254, allocations: 0.7343 MB / 1.051 GB, free: 5.309 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009731/0.4352, allocations: 4.61 MB / 1.055 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.4352, allocations: 8 kB / 1.055 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4352, allocations: 0 / 1.055 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002527/0.4355, allocations: 0 / 1.055 GB, free: 0.6797 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.5276/0.9631, allocations: 3.403 MB / 1.059 GB, free: 147.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.9632, allocations: 11.09 kB / 1.059 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001208/0.9644, allocations: 322.5 kB / 1.059 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.9748, allocations: 1.369 MB / 1.06 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007263/0.9821, allocations: 2.671 MB / 1.063 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/0.9825, allocations: 257 kB / 1.063 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008041/0.9834, allocations: 236.3 kB / 1.063 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009031/0.9924, allocations: 3.142 MB / 1.066 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-05/0.9925, allocations: 7.578 kB / 1.066 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003485/0.9929, allocations: 102.3 kB / 1.066 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.993, allocations: 73.52 kB / 1.067 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/1.004, allocations: 2.81 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.02782/1.032, allocations: 13.65 MB / 1.083 GB, free: 137 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/1.037, allocations: 1.444 MB / 1.084 GB, free: 136.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/1.039, allocations: 1.791 MB / 1.086 GB, free: 134.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004113/1.043, allocations: 1.126 MB / 1.087 GB, free: 133.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 7.935e-06/1.043, allocations: 1.406 kB / 1.087 GB, free: 133.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=130): time 0.03639/1.079, allocations: 9.719 MB / 1.096 GB, free: 127.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002339/1.08, allocations: 0.5776 MB / 1.097 GB, free: 126.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/1.085, allocations: 2.695 MB / 1.1 GB, free: 125.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006307/1.085, allocations: 61.55 kB / 1.1 GB, free: 125.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/1.086, allocations: 1.342 MB / 1.101 GB, free: 124.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00068/1.087, allocations: 455.2 kB / 1.101 GB, free: 123.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/1.087, allocations: 35.56 kB / 1.101 GB, free: 123.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.087, allocations: 369.5 kB / 1.102 GB, free: 123.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/1.091, allocations: 0.9492 MB / 1.103 GB, free: 122.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003931/1.095, allocations: 1.538 MB / 1.104 GB, free: 121.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/1.099, allocations: 1.088 MB / 1.105 GB, free: 120.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/1.099, allocations: 4 kB / 1.105 GB, free: 120.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01117/1.11, allocations: 3.1 MB / 1.108 GB, free: 117.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/1.111, allocations: 5.245 MB / 1.113 GB, free: 112.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.128e-05/1.111, allocations: 16 kB / 1.113 GB, free: 112.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/1.114, allocations: 0.8968 MB / 1.114 GB, free: 111.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/1.117, allocations: 475.2 kB / 1.115 GB, free: 110.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/1.12, allocations: 2.187 MB / 1.117 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005909/1.126, allocations: 405.5 kB / 1.117 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007533/1.127, allocations: 107.9 kB / 1.117 GB, free: 108 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.127, allocations: 4 kB / 1.117 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01096/1.138, allocations: 2.802 MB / 1.12 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-05/1.138, allocations: 15.94 kB / 1.12 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/1.141, allocations: 0.8891 MB / 1.121 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/1.144, allocations: 471.2 kB / 1.121 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/1.147, allocations: 2.199 MB / 1.124 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004878/1.152, allocations: 372.6 kB / 1.124 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000508/1.152, allocations: 103.9 kB / 1.124 GB, free: 101.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (168): * Single equations (assignments): 165 * 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002018/1.154, allocations: 0.6958 MB / 1.125 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.155, allocations: 288.6 kB / 1.125 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008782/1.164, allocations: 2.363 MB / 1.127 GB, free: 97.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/1.164, allocations: 20 kB / 1.127 GB, free: 97.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/1.164, allocations: 4.25 kB / 1.127 GB, free: 97.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007123/1.172, allocations: 1.988 MB / 1.129 GB, free: 95.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.189, allocations: 6.222 MB / 1.135 GB, free: 89.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/1.189, allocations: 8 kB / 1.135 GB, free: 89.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/1.191, allocations: 287.6 kB / 1.136 GB, free: 89.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/1.194, allocations: 0.7443 MB / 1.136 GB, free: 88.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/1.194, allocations: 63.89 kB / 1.136 GB, free: 88.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/1.196, allocations: 1.952 MB / 1.138 GB, free: 86.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.196, allocations: 11.94 kB / 1.138 GB, free: 86.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.209, allocations: 4.321 MB / 1.143 GB, free: 81.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/1.211, allocations: 0.6612 MB / 1.143 GB, free: 80.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/1.213, allocations: 43.94 kB / 1.143 GB, free: 80.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004679/1.218, allocations: 282.6 kB / 1.143 GB, free: 80.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/1.218, allocations: 120.7 kB / 1.144 GB, free: 80.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000327/1.218, allocations: 67.92 kB / 1.144 GB, free: 80.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004372/1.223, allocations: 1.89 MB / 1.146 GB, free: 78.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.92e-07/1.223, allocations: 0 / 1.146 GB, free: 78.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008357/1.231, allocations: 1.55 MB / 1.147 GB, free: 76.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (84): * Single equations (assignments): 78 * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01624/1.247, allocations: 7.338 MB / 1.154 GB, free: 69.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.26, allocations: 3.644 MB / 1.158 GB, free: 65.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/1.26, allocations: 4.25 kB / 1.158 GB, free: 65.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003688/1.264, allocations: 1.063 MB / 1.159 GB, free: 64.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008196/1.272, allocations: 1.492 MB / 1.16 GB, free: 63.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/1.297, allocations: 16.18 MB / 1.176 GB, free: 46.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/1.299, allocations: 1.771 MB / 1.178 GB, free: 44.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004603/1.303, allocations: 0.6481 MB / 1.178 GB, free: 43.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/1.305, allocations: 1.175 MB / 1.18 GB, free: 42.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.305, allocations: 0 / 1.18 GB, free: 42.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1603/1.466, allocations: 94.25 MB / 1.272 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/1.466, allocations: 273 kB / 1.272 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.447/6.913, allocations: 0 / 1.272 GB, free: 12.8 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)