Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8302/0.8302, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001103, allocations: 183.5 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009173/0.0009173, allocations: 88.17 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 282.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.108e-05/2.1e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4053, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8303/1.236, allocations: 394.9 MB / 1.143 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.236, allocations: 89.95 kB / 1.143 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.038/5.274, allocations: 1.056 GB / 2.199 GB, free: 48.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.894e-06/5.274, allocations: 0 / 2.199 GB, free: 48.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004754/5.275, allocations: 76.62 kB / 2.199 GB, free: 48.39 MB / 0.7136 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.009023/5.284, allocations: 3.181 MB / 2.202 GB, free: 45.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/5.284, allocations: 12.03 kB / 2.202 GB, free: 45.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008922/5.293, allocations: 1.206 MB / 2.204 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00997/5.303, allocations: 3.291 MB / 2.207 GB, free: 40.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/5.303, allocations: 167.9 kB / 2.207 GB, free: 40.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/5.304, allocations: 136 kB / 2.207 GB, free: 40.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005016/5.309, allocations: 1.967 MB / 2.209 GB, free: 38.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007371/5.317, allocations: 2.453 MB / 2.211 GB, free: 35.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/5.317, allocations: 7.938 kB / 2.211 GB, free: 35.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006362/5.318, allocations: 4 kB / 2.211 GB, free: 35.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.515e-05/5.318, allocations: 75.98 kB / 2.212 GB, free: 35.62 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.02086/5.338, allocations: 12.62 MB / 2.224 GB, free: 22.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/5.34, allocations: 1.13 MB / 2.225 GB, free: 21.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/5.341, allocations: 0.5979 MB / 2.226 GB, free: 20.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/5.342, allocations: 1.777 MB / 2.227 GB, free: 18.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/5.343, allocations: 0.9168 MB / 2.228 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.747e-06/5.343, allocations: 4 kB / 2.228 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.006981/5.35, allocations: 1.833 MB / 2.23 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002247/5.351, allocations: 0.9322 MB / 2.231 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/5.354, allocations: 1.844 MB / 2.233 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004144/5.354, allocations: 41.7 kB / 2.233 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/5.355, allocations: 1.384 MB / 2.234 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000449/5.356, allocations: 398.2 kB / 2.234 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/5.356, allocations: 0 / 2.234 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/5.356, allocations: 361.9 kB / 2.235 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008744/5.357, allocations: 0.5975 MB / 2.235 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/5.358, allocations: 1.197 MB / 2.237 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003461/5.361, allocations: 0.9617 MB / 2.238 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/5.361, allocations: 4 kB / 2.238 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006116/5.368, allocations: 2.273 MB / 2.24 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009211/5.368, allocations: 4.941 MB / 2.245 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/5.369, allocations: 12 kB / 2.245 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/5.37, allocations: 0.5362 MB / 2.245 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/5.373, allocations: 495.2 kB / 2.246 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/5.375, allocations: 1.775 MB / 2.247 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005162/5.38, allocations: 455.1 kB / 2.248 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003825/5.381, allocations: 107.9 kB / 2.248 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/5.381, allocations: 4 kB / 2.248 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005909/5.387, allocations: 1.999 MB / 2.25 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/5.387, allocations: 15.94 kB / 2.25 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/5.388, allocations: 0.522 MB / 2.25 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/5.391, allocations: 479.2 kB / 2.251 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/5.393, allocations: 1.787 MB / 2.253 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004329/5.397, allocations: 362.4 kB / 2.253 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002757/5.397, allocations: 115.8 kB / 2.253 GB, free: 7.129 MB / 0.7292 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 () * 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.0006548/5.398, allocations: 156.5 kB / 2.253 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008693/5.399, allocations: 244.6 kB / 2.253 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007351/5.406, allocations: 1.839 MB / 2.255 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/5.406, allocations: 20 kB / 2.255 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/5.406, allocations: 15.92 kB / 2.255 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005968/5.412, allocations: 1.666 MB / 2.257 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5847/5.997, allocations: 6.229 MB / 2.263 GB, free: 73.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/5.997, allocations: 7 kB / 2.263 GB, free: 73.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/6, allocations: 295 kB / 2.263 GB, free: 73.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/6.001, allocations: 0.5183 MB / 2.264 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000263/6.002, allocations: 34.97 kB / 2.264 GB, free: 73.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/6.004, allocations: 1.772 MB / 2.265 GB, free: 72.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/6.004, allocations: 12.25 kB / 2.265 GB, free: 72.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007261/6.011, allocations: 3.292 MB / 2.269 GB, free: 71.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/6.013, allocations: 0.6267 MB / 2.269 GB, free: 71.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000425/6.014, allocations: 16.06 kB / 2.269 GB, free: 71.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/6.017, allocations: 251.8 kB / 2.27 GB, free: 71.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/6.017, allocations: 114.2 kB / 2.27 GB, free: 71.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/6.017, allocations: 70.78 kB / 2.27 GB, free: 71.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002045/6.019, allocations: 1.377 MB / 2.271 GB, free: 71.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/6.019, allocations: 4.75 kB / 2.271 GB, free: 71.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005316/6.024, allocations: 1.816 MB / 2.273 GB, free: 70.98 MB / 0.7292 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) * 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.002616/6.027, allocations: 1.481 MB / 2.274 GB, free: 70.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004386/6.031, allocations: 2.552 MB / 2.277 GB, free: 70.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/6.031, allocations: 4.281 kB / 2.277 GB, free: 70.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/6.033, allocations: 0.7413 MB / 2.278 GB, free: 70.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005272/6.038, allocations: 1.088 MB / 2.279 GB, free: 70.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009977/6.048, allocations: 3.862 MB / 2.282 GB, free: 69.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/6.05, allocations: 1.768 MB / 2.284 GB, free: 68.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004662/6.054, allocations: 0.7625 MB / 2.285 GB, free: 68.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/6.055, allocations: 177.9 kB / 2.285 GB, free: 68.66 MB / 0.7292 GB Notification: Performance of SimCode: time 1.233e-06/6.055, allocations: 0 / 2.285 GB, free: 68.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.109/6.164, allocations: 63.19 MB / 2.347 GB, free: 65.12 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)