Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8054/0.8054, allocations: 143.4 MB / 158.3 MB, free: 5.824 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.001142/0.001142, allocations: 173 kB / 191.5 MB, free: 5.793 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.574/1.574, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0009847/0.0009848, allocations: 92.27 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001857/0.001857, allocations: 275.5 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004249, allocations: 15.59 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/1.46, allocations: 396.3 MB / 1.161 GB, free: 266.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/1.461, allocations: 99.14 kB / 1.161 GB, free: 266.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.176/4.637, allocations: 1.065 GB / 2.226 GB, free: 25.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/4.637, allocations: 0 / 2.226 GB, free: 25.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004155/4.637, allocations: 83.86 kB / 2.226 GB, free: 25.81 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01016/4.648, allocations: 3.677 MB / 2.23 GB, free: 22.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/4.648, allocations: 12.03 kB / 2.23 GB, free: 22.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00988/4.658, allocations: 1.311 MB / 2.231 GB, free: 20.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00783/4.665, allocations: 3.311 MB / 2.234 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/4.666, allocations: 255.9 kB / 2.235 GB, free: 17.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008417/4.667, allocations: 232 kB / 2.235 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009472/4.676, allocations: 3.2 MB / 2.238 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/4.676, allocations: 7.938 kB / 2.238 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005989/4.677, allocations: 104 kB / 2.238 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.298e-05/4.677, allocations: 71.92 kB / 2.238 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/4.688, allocations: 2.875 MB / 2.241 GB, free: 10.36 MB / 0.7136 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.02342/4.711, allocations: 13.51 MB / 2.254 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005111/4.716, allocations: 1.594 MB / 2.256 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/4.718, allocations: 1.781 MB / 2.257 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004253/4.723, allocations: 1.265 MB / 2.259 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 6.773e-06/4.723, allocations: 4 kB / 2.259 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.07267/4.795, allocations: 16.25 MB / 2.274 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003954/4.796, allocations: 0.9357 MB / 2.275 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004397/4.8, allocations: 2.415 MB / 2.278 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004263/4.801, allocations: 65.7 kB / 2.278 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/4.802, allocations: 1.352 MB / 2.279 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005908/4.803, allocations: 426 kB / 2.28 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/4.803, allocations: 28 kB / 2.28 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001608/4.803, allocations: 377.8 kB / 2.28 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4255/5.228, allocations: 0.9734 MB / 2.281 GB, free: 79.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004796/5.233, allocations: 1.614 MB / 2.282 GB, free: 78.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004202/5.237, allocations: 1.105 MB / 2.283 GB, free: 78.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/5.237, allocations: 2.094 kB / 2.283 GB, free: 78.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01076/5.248, allocations: 3.125 MB / 2.287 GB, free: 78.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009817/5.249, allocations: 5.256 MB / 2.292 GB, free: 72.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/5.249, allocations: 15.94 kB / 2.292 GB, free: 72.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003817/5.253, allocations: 1.147 MB / 2.293 GB, free: 72.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/5.256, allocations: 447.4 kB / 2.293 GB, free: 72.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/5.26, allocations: 2.388 MB / 2.296 GB, free: 71.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005964/5.266, allocations: 433.8 kB / 2.296 GB, free: 71.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005561/5.266, allocations: 107.5 kB / 2.296 GB, free: 71.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/5.266, allocations: 4.844 kB / 2.296 GB, free: 71.79 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0107/5.277, allocations: 2.79 MB / 2.299 GB, free: 71.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.094e-05/5.277, allocations: 13.81 kB / 2.299 GB, free: 71.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004026/5.281, allocations: 1.152 MB / 2.3 GB, free: 71.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/5.284, allocations: 438.8 kB / 2.3 GB, free: 71.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/5.288, allocations: 2.374 MB / 2.303 GB, free: 70.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/5.293, allocations: 362.4 kB / 2.303 GB, free: 70.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/5.294, allocations: 111.1 kB / 2.303 GB, free: 70.64 MB / 0.7448 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,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 (148): * Single equations (assignments): 145 * 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 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002129/5.296, allocations: 0.7015 MB / 2.304 GB, free: 70.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009231/5.297, allocations: 281.8 kB / 2.304 GB, free: 70.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/5.308, allocations: 2.417 MB / 2.306 GB, free: 70.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/5.308, allocations: 16.36 kB / 2.306 GB, free: 70.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/5.308, allocations: 3.938 kB / 2.306 GB, free: 70.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009193/5.317, allocations: 2.183 MB / 2.309 GB, free: 70.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/5.335, allocations: 7.138 MB / 2.316 GB, free: 68.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/5.335, allocations: 12.77 kB / 2.316 GB, free: 68.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/5.337, allocations: 274.5 kB / 2.316 GB, free: 68.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/5.341, allocations: 1.016 MB / 2.317 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002901/5.341, allocations: 50.84 kB / 2.317 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/5.345, allocations: 2.162 MB / 2.319 GB, free: 67.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/5.345, allocations: 6.781 kB / 2.319 GB, free: 67.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/5.359, allocations: 4.348 MB / 2.323 GB, free: 65.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/5.361, allocations: 0.6607 MB / 2.324 GB, free: 65.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/5.362, allocations: 33.38 kB / 2.324 GB, free: 65.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004224/5.366, allocations: 294.5 kB / 2.324 GB, free: 65.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/5.366, allocations: 111.2 kB / 2.324 GB, free: 65.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/5.367, allocations: 69.27 kB / 2.324 GB, free: 65.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003881/5.371, allocations: 1.9 MB / 2.326 GB, free: 65.35 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.41e-07/5.371, allocations: 0 / 2.326 GB, free: 65.35 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006997/5.378, allocations: 1.658 MB / 2.328 GB, free: 65.35 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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 (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003256/5.381, allocations: 1.511 MB / 2.329 GB, free: 65.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01297/5.394, allocations: 3.679 MB / 2.333 GB, free: 64.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/5.394, allocations: 6.312 kB / 2.333 GB, free: 64.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003799/5.398, allocations: 1.094 MB / 2.334 GB, free: 64.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008133/5.406, allocations: 1.499 MB / 2.335 GB, free: 64.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/5.42, allocations: 5.796 MB / 2.341 GB, free: 62.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/5.422, allocations: 1.767 MB / 2.343 GB, free: 61.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004617/5.427, allocations: 0.6506 MB / 2.343 GB, free: 61.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009849/5.428, allocations: 241.2 kB / 2.344 GB, free: 61.53 MB / 0.7448 GB Notification: Performance of SimCode: time 1.694e-06/5.428, allocations: 0 / 2.344 GB, free: 61.53 MB / 0.7448 GB Notification: Performance of Templates: time 0.103/5.531, allocations: 78.8 MB / 2.421 GB, free: 56.62 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)