Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008843/0.0008843, allocations: 172.7 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4502/0.4502, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 348.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007696/0.0007696, allocations: 92.98 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004041, allocations: 16 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3211, allocations: 71.02 MB / 0.5594 GB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8385/1.16, allocations: 386.2 MB / 0.9366 GB, free: 231.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/1.16, allocations: 96.84 kB / 0.9366 GB, free: 231.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.167/4.327, allocations: 1.046 GB / 1.983 GB, free: 54.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/4.327, allocations: 0 / 1.983 GB, free: 54.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003738/4.327, allocations: 75.56 kB / 1.983 GB, free: 54.33 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008692/4.336, allocations: 3.657 MB / 1.987 GB, free: 52.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/4.336, allocations: 11.41 kB / 1.987 GB, free: 52.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007863/4.344, allocations: 1.209 MB / 1.988 GB, free: 52.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007467/4.351, allocations: 3.303 MB / 1.991 GB, free: 51.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/4.351, allocations: 253.1 kB / 1.991 GB, free: 51.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00071/4.352, allocations: 233.2 kB / 1.991 GB, free: 51.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007788/4.36, allocations: 3.154 MB / 1.994 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.636e-05/4.36, allocations: 6.062 kB / 1.995 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004211/4.361, allocations: 101.9 kB / 1.995 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-05/4.361, allocations: 71.33 kB / 1.995 GB, free: 51.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007935/4.369, allocations: 2.767 MB / 1.997 GB, free: 51.1 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.01938/4.388, allocations: 13.06 MB / 2.01 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/4.391, allocations: 1.487 MB / 2.012 GB, free: 45.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/4.394, allocations: 0.8936 MB / 2.012 GB, free: 45.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/4.395, allocations: 1.777 MB / 2.014 GB, free: 43.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002941/4.398, allocations: 1.228 MB / 2.015 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 5.801e-06/4.398, allocations: 0 / 2.015 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118): time 0.01877/4.417, allocations: 4.3 MB / 2.02 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/4.417, allocations: 0.9412 MB / 2.021 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004876/4.422, allocations: 2.515 MB / 2.023 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003864/4.423, allocations: 59.73 kB / 2.023 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/4.424, allocations: 1.361 MB / 2.024 GB, free: 40.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/4.424, allocations: 414.2 kB / 2.025 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/4.424, allocations: 32.16 kB / 2.025 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001122/4.425, allocations: 365.1 kB / 2.025 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/4.428, allocations: 0.9396 MB / 2.026 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/4.431, allocations: 1.569 MB / 2.028 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005772/4.437, allocations: 2.159 MB / 2.03 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/4.437, allocations: 3.969 kB / 2.03 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.008923/4.446, allocations: 2.91 MB / 2.033 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002389/4.446, allocations: 477.3 kB / 2.033 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/4.446, allocations: 15.22 kB / 2.033 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/4.449, allocations: 0.7141 MB / 2.034 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/4.451, allocations: 491.4 kB / 2.034 GB, free: 37.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/4.453, allocations: 1.794 MB / 2.036 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/4.457, allocations: 0.5095 MB / 2.036 GB, free: 36.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/4.458, allocations: 104.9 kB / 2.037 GB, free: 36.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/4.458, allocations: 7.062 kB / 2.037 GB, free: 36.59 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007425/4.465, allocations: 2.588 MB / 2.039 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/4.465, allocations: 10.84 kB / 2.039 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/4.467, allocations: 0.7176 MB / 2.04 GB, free: 36.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/4.47, allocations: 466.9 kB / 2.04 GB, free: 36.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/4.472, allocations: 1.794 MB / 2.042 GB, free: 35.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/4.476, allocations: 433.3 kB / 2.042 GB, free: 35.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/4.476, allocations: 103.4 kB / 2.042 GB, free: 35.15 MB / 0.6355 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,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.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 (170): * Single equations (assignments): 167 * 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.001769/4.478, allocations: 0.7046 MB / 2.043 GB, free: 34.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008158/4.479, allocations: 283.9 kB / 2.043 GB, free: 34.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008088/4.487, allocations: 2.269 MB / 2.046 GB, free: 34.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/4.487, allocations: 18.83 kB / 2.046 GB, free: 34.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/4.487, allocations: 6.188 kB / 2.046 GB, free: 34.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006876/4.494, allocations: 2.055 MB / 2.048 GB, free: 34.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/4.508, allocations: 6.946 MB / 2.054 GB, free: 32.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/4.508, allocations: 6.812 kB / 2.054 GB, free: 32.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/4.51, allocations: 306 kB / 2.055 GB, free: 32.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/4.512, allocations: 0.6992 MB / 2.055 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/4.512, allocations: 51.42 kB / 2.055 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/4.514, allocations: 1.791 MB / 2.057 GB, free: 31.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/4.514, allocations: 10.34 kB / 2.057 GB, free: 31.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009692/4.524, allocations: 3.456 MB / 2.061 GB, free: 29.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/4.526, allocations: 0.643 MB / 2.061 GB, free: 29.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/4.527, allocations: 30.41 kB / 2.061 GB, free: 29.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003491/4.53, allocations: 280.5 kB / 2.062 GB, free: 29.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/4.53, allocations: 115.6 kB / 2.062 GB, free: 29.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/4.531, allocations: 69.14 kB / 2.062 GB, free: 29.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003717/4.534, allocations: 1.746 MB / 2.063 GB, free: 28.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.61e-07/4.534, allocations: 7.812 kB / 2.063 GB, free: 28.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00669/4.541, allocations: 1.761 MB / 2.065 GB, free: 27.94 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002925/4.544, allocations: 1.376 MB / 2.066 GB, free: 27.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01071/4.555, allocations: 3.483 MB / 2.07 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/4.555, allocations: 4.719 kB / 2.07 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003156/4.558, allocations: 1.044 MB / 2.071 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/4.568, allocations: 1.436 MB / 2.072 GB, free: 25.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/4.581, allocations: 6.106 MB / 2.078 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/4.583, allocations: 1.705 MB / 2.08 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.004157/4.587, allocations: 0.6801 MB / 2.081 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007974/4.588, allocations: 243.5 kB / 2.081 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/4.588, allocations: 0 / 2.081 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.4141/5.002, allocations: 73.16 MB / 2.152 GB, free: 52.67 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)