Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8344/0.8344, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 182 kB / 187.3 MB, free: 11.88 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.484/1.484, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0009467/0.0009468, allocations: 98.47 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 271.1 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.213e-05/4.215e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4877, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8993/1.387, allocations: 396.1 MB / 1.151 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/1.387, allocations: 103.6 kB / 1.151 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.891/5.278, allocations: 1.061 GB / 2.213 GB, free: 38.26 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.943e-06/5.278, allocations: 0 / 2.213 GB, free: 38.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004104/5.279, allocations: 75.98 kB / 2.213 GB, free: 38.19 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008987/5.288, allocations: 3.179 MB / 2.216 GB, free: 34.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/5.288, allocations: 8.031 kB / 2.216 GB, free: 34.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/5.298, allocations: 1.324 MB / 2.217 GB, free: 33.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007123/5.305, allocations: 3.305 MB / 2.22 GB, free: 30.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/5.305, allocations: 254.7 kB / 2.221 GB, free: 29.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005719/5.306, allocations: 238.2 kB / 2.221 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004931/5.311, allocations: 2.832 MB / 2.224 GB, free: 26.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/5.311, allocations: 7.938 kB / 2.224 GB, free: 26.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/5.311, allocations: 96 kB / 2.224 GB, free: 26.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/5.311, allocations: 68 kB / 2.224 GB, free: 26.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/5.315, allocations: 2.172 MB / 2.226 GB, free: 24.34 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.02046/5.336, allocations: 13.34 MB / 2.239 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/5.337, allocations: 1.228 MB / 2.24 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009145/5.338, allocations: 0.6625 MB / 2.241 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/5.34, allocations: 1.777 MB / 2.242 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/5.341, allocations: 0.9957 MB / 2.243 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 3.897e-06/5.341, allocations: 0 / 2.243 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.005141/5.346, allocations: 1.696 MB / 2.245 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/5.347, allocations: 0.9402 MB / 2.246 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/5.35, allocations: 2.246 MB / 2.248 GB, free: 148 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005301/5.351, allocations: 61.7 kB / 2.248 GB, free: 80 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001767/5.353, allocations: 1.36 MB / 2.25 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000905/5.354, allocations: 430 kB / 2.25 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/5.354, allocations: 28 kB / 2.25 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002304/5.354, allocations: 373.9 kB / 2.25 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/5.355, allocations: 0.6522 MB / 2.251 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/5.357, allocations: 1.283 MB / 2.252 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/5.359, allocations: 0.7851 MB / 2.253 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/5.359, allocations: 4 kB / 2.253 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01321/5.372, allocations: 2.892 MB / 2.256 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001913/5.374, allocations: 5.037 MB / 2.261 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/5.374, allocations: 12 kB / 2.261 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/5.377, allocations: 0.8124 MB / 2.262 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/5.38, allocations: 499.2 kB / 2.262 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/5.382, allocations: 1.809 MB / 2.264 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/5.388, allocations: 0.5325 MB / 2.264 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003919/5.388, allocations: 107.9 kB / 2.264 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/5.388, allocations: 7.938 kB / 2.264 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01166/5.4, allocations: 2.618 MB / 2.267 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/5.4, allocations: 12 kB / 2.267 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/5.402, allocations: 0.8276 MB / 2.268 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/5.405, allocations: 479.2 kB / 2.268 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/5.408, allocations: 1.81 MB / 2.27 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005432/5.413, allocations: 464.7 kB / 2.271 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000534/5.414, allocations: 107.8 kB / 2.271 GB, free: 8.41 MB / 0.7448 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007086/5.414, allocations: 220.9 kB / 2.271 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009326/5.415, allocations: 286.1 kB / 2.271 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/5.427, allocations: 2.293 MB / 2.273 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/5.427, allocations: 16 kB / 2.273 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/5.427, allocations: 4 kB / 2.273 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01084/5.438, allocations: 2.075 MB / 2.275 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5164/5.955, allocations: 7.021 MB / 2.282 GB, free: 82.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/5.955, allocations: 7.297 kB / 2.282 GB, free: 82.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/5.957, allocations: 290.5 kB / 2.283 GB, free: 82.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002694/5.959, allocations: 0.8152 MB / 2.283 GB, free: 82.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/5.959, allocations: 47.5 kB / 2.283 GB, free: 82.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/5.961, allocations: 1.8 MB / 2.285 GB, free: 81.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/5.961, allocations: 13.47 kB / 2.285 GB, free: 81.74 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/5.967, allocations: 3.386 MB / 2.288 GB, free: 80.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/5.969, allocations: 0.6732 MB / 2.289 GB, free: 80.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004695/5.969, allocations: 38.06 kB / 2.289 GB, free: 80.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/5.972, allocations: 295 kB / 2.289 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/5.972, allocations: 111.9 kB / 2.29 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/5.973, allocations: 73.91 kB / 2.29 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002789/5.975, allocations: 1.738 MB / 2.291 GB, free: 80.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.21e-07/5.975, allocations: 0.875 kB / 2.291 GB, free: 80.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00608/5.982, allocations: 1.862 MB / 2.293 GB, free: 80.02 MB / 0.7448 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002919/5.984, allocations: 1.511 MB / 2.295 GB, free: 79.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004899/5.989, allocations: 2.79 MB / 2.297 GB, free: 79.58 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/5.989, allocations: 7.359 kB / 2.297 GB, free: 79.58 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/5.991, allocations: 0.8003 MB / 2.298 GB, free: 79.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007184/5.998, allocations: 1.413 MB / 2.299 GB, free: 79.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007643/6.006, allocations: 3.788 MB / 2.303 GB, free: 78.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/6.007, allocations: 1.772 MB / 2.305 GB, free: 77.69 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004588/6.012, allocations: 0.8581 MB / 2.306 GB, free: 77.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/6.012, allocations: 184.3 kB / 2.306 GB, free: 77.66 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/6.012, allocations: 0 / 2.306 GB, free: 77.66 MB / 0.7448 GB Notification: Performance of Templates: time 0.1117/6.124, allocations: 80.58 MB / 2.385 GB, free: 73.45 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)