Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8675/0.8675, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.001642/0.001642, allocations: 181 kB / 191.5 MB, free: 5.777 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.597/1.597, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.0008862/0.0008862, allocations: 92.27 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 274.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004202, allocations: 12.34 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1568, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.238, allocations: 394.4 MB / 1.159 GB, free: 194.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.239, allocations: 99.38 kB / 1.159 GB, free: 194.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.693/2.932, allocations: 0.5596 GB / 1.719 GB, free: 105.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.385e-06/2.932, allocations: 1.906 kB / 1.719 GB, free: 105.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001531/2.932, allocations: 39.7 kB / 1.719 GB, free: 105.9 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004937/2.937, allocations: 2.097 MB / 1.721 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/2.937, allocations: 9.641 kB / 1.721 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/2.942, allocations: 0.6656 MB / 1.721 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005126/2.947, allocations: 1.781 MB / 1.723 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/2.948, allocations: 128.2 kB / 1.723 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/2.948, allocations: 124.6 kB / 1.723 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003944/2.952, allocations: 1.645 MB / 1.725 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/2.952, allocations: 3.562 kB / 1.725 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/2.952, allocations: 48.19 kB / 1.725 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/2.952, allocations: 51.08 kB / 1.725 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/2.957, allocations: 1.462 MB / 1.727 GB, free: 104.6 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.01014/2.967, allocations: 6.808 MB / 1.733 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/2.969, allocations: 0.6881 MB / 1.734 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/2.97, allocations: 1.274 MB / 1.735 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/2.97, allocations: 40 kB / 1.735 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=64): time 2.725e-06/2.97, allocations: 0 / 1.735 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64): time 0.0301/3.001, allocations: 3.816 MB / 1.739 GB, free: 100 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/3.001, allocations: 111.6 kB / 1.739 GB, free: 99.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/3.004, allocations: 1.259 MB / 1.74 GB, free: 99.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002835/3.004, allocations: 43.64 kB / 1.74 GB, free: 99.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009848/3.005, allocations: 0.7036 MB / 1.741 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/3.006, allocations: 225.6 kB / 1.741 GB, free: 99.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/3.006, allocations: 18.19 kB / 1.741 GB, free: 99.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000136/3.006, allocations: 342.2 kB / 1.741 GB, free: 99.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/3.008, allocations: 0.4915 MB / 1.742 GB, free: 99.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/3.011, allocations: 0.7712 MB / 1.743 GB, free: 98.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/3.013, allocations: 0.5452 MB / 1.743 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/3.013, allocations: 0 / 1.743 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01356/3.026, allocations: 2.095 MB / 1.745 GB, free: 98.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005073/3.027, allocations: 2.493 MB / 1.748 GB, free: 96.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/3.027, allocations: 11.69 kB / 1.748 GB, free: 96.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/3.029, allocations: 490.9 kB / 1.748 GB, free: 96.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/3.03, allocations: 249.7 kB / 1.748 GB, free: 96.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/3.032, allocations: 0.9979 MB / 1.749 GB, free: 95.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/3.035, allocations: 277.5 kB / 1.75 GB, free: 95.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/3.035, allocations: 60.95 kB / 1.75 GB, free: 95.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/3.035, allocations: 3.938 kB / 1.75 GB, free: 95.55 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01309/3.049, allocations: 1.943 MB / 1.752 GB, free: 95.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/3.049, allocations: 7.156 kB / 1.752 GB, free: 95.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/3.05, allocations: 487.8 kB / 1.752 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/3.052, allocations: 252.6 kB / 1.752 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/3.053, allocations: 0.9886 MB / 1.753 GB, free: 94.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/3.056, allocations: 250.8 kB / 1.754 GB, free: 94.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/3.057, allocations: 53.02 kB / 1.754 GB, free: 94.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001454/3.058, allocations: 455.5 kB / 1.754 GB, free: 94.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006834/3.059, allocations: 146.4 kB / 1.754 GB, free: 94.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/3.064, allocations: 1.245 MB / 1.755 GB, free: 94.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/3.064, allocations: 9.625 kB / 1.755 GB, free: 94.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/3.064, allocations: 3.516 kB / 1.755 GB, free: 94.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003587/3.068, allocations: 1.123 MB / 1.756 GB, free: 94.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007787/3.075, allocations: 3.007 MB / 1.759 GB, free: 93.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/3.076, allocations: 6.656 kB / 1.759 GB, free: 93.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/3.076, allocations: 154.2 kB / 1.76 GB, free: 93.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/3.078, allocations: 486.2 kB / 1.76 GB, free: 93.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/3.078, allocations: 27.42 kB / 1.76 GB, free: 93.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/3.079, allocations: 0.9936 MB / 1.761 GB, free: 93.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/3.079, allocations: 6.156 kB / 1.761 GB, free: 93.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006013/3.086, allocations: 2.17 MB / 1.763 GB, free: 92.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/3.087, allocations: 396.5 kB / 1.764 GB, free: 92.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005489/3.087, allocations: 19.81 kB / 1.764 GB, free: 92.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/3.09, allocations: 152.3 kB / 1.764 GB, free: 92.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/3.09, allocations: 61.2 kB / 1.764 GB, free: 92.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/3.09, allocations: 42.62 kB / 1.764 GB, free: 92.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001768/3.092, allocations: 1.007 MB / 1.765 GB, free: 92.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/3.092, allocations: 0 / 1.765 GB, free: 92.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003961/3.096, allocations: 0.9793 MB / 1.766 GB, free: 92.15 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002397/3.098, allocations: 0.8947 MB / 1.767 GB, free: 91.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006595/3.105, allocations: 1.782 MB / 1.768 GB, free: 91.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/3.105, allocations: 0 / 1.768 GB, free: 91.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/3.106, allocations: 0.514 MB / 1.769 GB, free: 91.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/3.11, allocations: 0.7831 MB / 1.77 GB, free: 91.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006658/3.117, allocations: 3.148 MB / 1.773 GB, free: 90.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008092/3.118, allocations: 1.228 MB / 1.774 GB, free: 89.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002102/3.12, allocations: 380.5 kB / 1.774 GB, free: 89.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/3.121, allocations: 128.8 kB / 1.774 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/3.121, allocations: 2.906 kB / 1.774 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.05576/3.176, allocations: 40.04 MB / 1.813 GB, free: 87.66 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)