Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.458/1.458, allocations: 252 MB / 267.3 MB, free: 10.84 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.001566/0.001566, allocations: 176.4 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.001064/0.001064, allocations: 78.36 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004983, allocations: 11.94 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3142, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07495/0.3892, allocations: 68.26 MB / 0.9676 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.4149, allocations: 14.68 MB / 0.9819 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/0.4188, allocations: 59.62 kB / 0.982 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003621/0.4225, allocations: 0.7498 MB / 0.9827 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.4331, allocations: 2.343 MB / 0.985 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00671/0.4398, allocations: 1.805 MB / 0.9868 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008896/0.4487, allocations: 5.893 MB / 0.9925 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003223/0.452, allocations: 1.278 MB / 0.9938 GB, free: 16 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/0.4564, allocations: 1.462 MB / 0.9952 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.4594, allocations: 1.198 MB / 0.9964 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007261/0.4602, allocations: 72 kB / 0.9964 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005916/0.4661, allocations: 1.823 MB / 0.9982 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000923/0.4671, allocations: 334.4 kB / 0.9985 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002451/0.4696, allocations: 0.8996 MB / 0.9994 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008822/0.4784, allocations: 3.443 MB / 1.003 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4785, allocations: 0 / 1.003 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4785, allocations: 0 / 1.003 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000111/0.4786, allocations: 0 / 1.003 GB, free: 6.758 MB / 0.6511 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.005879/0.4845, allocations: 2.027 MB / 1.005 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.4846, allocations: 8.031 kB / 1.005 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005915/0.4852, allocations: 185.5 kB / 1.005 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/0.4905, allocations: 0.6934 MB / 1.006 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/0.4945, allocations: 1.541 MB / 1.007 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.4947, allocations: 132 kB / 1.007 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005122/0.4953, allocations: 128 kB / 1.007 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.5004, allocations: 1.64 MB / 1.009 GB, free: 180 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.5005, allocations: 7.938 kB / 1.009 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.5007, allocations: 52 kB / 1.009 GB, free: 120 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.5008, allocations: 35.94 kB / 1.009 GB, free: 84 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005256/0.506, allocations: 1.496 MB / 1.011 GB, free: 14.58 MB / 0.6667 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.01265/0.5187, allocations: 6.991 MB / 1.017 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.5216, allocations: 0.795 MB / 1.018 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.5237, allocations: 0.5022 MB / 1.019 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.5252, allocations: 1.278 MB / 1.02 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001987/0.5272, allocations: 0.6519 MB / 1.02 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=69): time 8.245e-06/0.5272, allocations: 0 / 1.02 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69): time 0.01024/0.5375, allocations: 2.181 MB / 1.023 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.5377, allocations: 325 kB / 1.023 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.5406, allocations: 1.375 MB / 1.024 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.5408, allocations: 45.7 kB / 1.024 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007766/0.5416, allocations: 0.6997 MB / 1.025 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.5419, allocations: 244.5 kB / 1.025 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.5421, allocations: 20 kB / 1.025 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5422, allocations: 337.9 kB / 1.026 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.5442, allocations: 0.5289 MB / 1.026 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.5465, allocations: 0.8497 MB / 1.027 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/0.5502, allocations: 1.209 MB / 1.028 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.5503, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00788/0.5581, allocations: 1.849 MB / 1.03 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002969/0.5585, allocations: 306.5 kB / 1.03 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.5585, allocations: 8 kB / 1.03 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.56, allocations: 351.5 kB / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.5616, allocations: 275.5 kB / 1.031 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.5629, allocations: 0.9058 MB / 1.032 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/0.5658, allocations: 297.2 kB / 1.032 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.5661, allocations: 59.94 kB / 1.032 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.5661, allocations: 0 / 1.032 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007372/0.5735, allocations: 1.688 MB / 1.034 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.5735, allocations: 8 kB / 1.034 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.5749, allocations: 343.7 kB / 1.034 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.5764, allocations: 279.5 kB / 1.034 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.5776, allocations: 0.903 MB / 1.035 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.5802, allocations: 268.9 kB / 1.035 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.5804, allocations: 55.95 kB / 1.035 GB, free: 3.816 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.5815, allocations: 456.8 kB / 1.036 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/0.582, allocations: 146.2 kB / 1.036 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/0.5865, allocations: 1.276 MB / 1.037 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.5865, allocations: 8 kB / 1.037 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5866, allocations: 7.938 kB / 1.037 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003523/0.5901, allocations: 1.088 MB / 1.038 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008148/0.5982, allocations: 3.322 MB / 1.042 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.5983, allocations: 7.984 kB / 1.042 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.5993, allocations: 168.3 kB / 1.042 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.6006, allocations: 344.4 kB / 1.042 GB, free: 12.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.258e-05/0.6007, allocations: 27.97 kB / 1.042 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.6019, allocations: 0.8975 MB / 1.043 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.6019, allocations: 19.86 kB / 1.043 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00618/0.6081, allocations: 1.969 MB / 1.045 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.6093, allocations: 383 kB / 1.045 GB, free: 9.426 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005166/0.6099, allocations: 32.05 kB / 1.045 GB, free: 9.395 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/0.612, allocations: 159.7 kB / 1.046 GB, free: 9.238 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.6122, allocations: 64.23 kB / 1.046 GB, free: 9.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.6123, allocations: 39.95 kB / 1.046 GB, free: 9.133 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002231/0.6146, allocations: 0.9899 MB / 1.047 GB, free: 8.145 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.6146, allocations: 0 / 1.047 GB, free: 8.145 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003733/0.6183, allocations: 0.9436 MB / 1.047 GB, free: 7.199 MB / 0.698 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008398/0.6267, allocations: 2.998 MB / 1.05 GB, free: 4.121 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006971/0.6337, allocations: 2.027 MB / 1.052 GB, free: 2.074 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.6338, allocations: 0 / 1.052 GB, free: 2.074 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.6359, allocations: 0.5717 MB / 1.053 GB, free: 1.504 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005768/0.6417, allocations: 0.8213 MB / 1.054 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5047/1.146, allocations: 13.77 MB / 1.067 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.148, allocations: 1.217 MB / 1.068 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002494/1.151, allocations: 374.1 kB / 1.069 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.152, allocations: 0.5875 MB / 1.069 GB, free: 140.2 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/1.152, allocations: 0 / 1.069 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09014/1.242, allocations: 50.9 MB / 1.119 GB, free: 103.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.242, allocations: 309.4 kB / 1.119 GB, free: 103.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.321/5.564, allocations: 0 / 1.119 GB, free: 103.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)