Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9641/0.9641, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001417/0.001417, allocations: 181.9 kB / 191.5 MB, free: 5.738 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.419/1.419, allocations: 223.2 MB / 447.7 MB, free: 4.73 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.001069/0.001069, allocations: 88.31 kB / 0.5188 GB, free: 1.086 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 275.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004772, allocations: 13.77 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1881, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.445, allocations: 394.5 MB / 1.159 GB, free: 252.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/1.445, allocations: 102.1 kB / 1.159 GB, free: 252.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.944/3.389, allocations: 0.5597 GB / 1.719 GB, free: 99.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/3.389, allocations: 0 / 1.719 GB, free: 99.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002195/3.39, allocations: 42.69 kB / 1.719 GB, free: 99.12 MB / 0.698 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.005563/3.395, allocations: 2.123 MB / 1.721 GB, free: 98.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/3.395, allocations: 9.406 kB / 1.721 GB, free: 98.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005268/3.401, allocations: 0.6674 MB / 1.722 GB, free: 98.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/3.406, allocations: 1.779 MB / 1.723 GB, free: 97.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/3.406, allocations: 131 kB / 1.723 GB, free: 97.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007232/3.407, allocations: 120.5 kB / 1.724 GB, free: 97.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005748/3.413, allocations: 1.659 MB / 1.725 GB, free: 97.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/3.413, allocations: 3.75 kB / 1.725 GB, free: 97.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002827/3.413, allocations: 53.42 kB / 1.725 GB, free: 97.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/3.413, allocations: 50.88 kB / 1.725 GB, free: 97.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005074/3.418, allocations: 1.489 MB / 1.727 GB, free: 97.59 MB / 0.698 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.01087/3.429, allocations: 7.078 MB / 1.734 GB, free: 94.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/3.431, allocations: 0.7777 MB / 1.734 GB, free: 94.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/3.432, allocations: 1.266 MB / 1.736 GB, free: 92.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/3.433, allocations: 48.62 kB / 1.736 GB, free: 92.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 3.056e-06/3.433, allocations: 0 / 1.736 GB, free: 92.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.02473/3.457, allocations: 3.743 MB / 1.739 GB, free: 92.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/3.457, allocations: 117.1 kB / 1.739 GB, free: 92.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/3.46, allocations: 1.255 MB / 1.741 GB, free: 92.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/3.46, allocations: 47.23 kB / 1.741 GB, free: 92.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/3.461, allocations: 0.6985 MB / 1.741 GB, free: 92.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/3.461, allocations: 232.5 kB / 1.742 GB, free: 92.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/3.461, allocations: 18.28 kB / 1.742 GB, free: 92.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/3.461, allocations: 337.3 kB / 1.742 GB, free: 91.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/3.463, allocations: 0.4952 MB / 1.742 GB, free: 91.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/3.465, allocations: 0.7891 MB / 1.743 GB, free: 91.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/3.467, allocations: 0.54 MB / 1.744 GB, free: 91.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/3.467, allocations: 6.828 kB / 1.744 GB, free: 91.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.005337/3.473, allocations: 1.572 MB / 1.745 GB, free: 91.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004747/3.473, allocations: 2.488 MB / 1.748 GB, free: 88.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/3.473, allocations: 9.5 kB / 1.748 GB, free: 88.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/3.475, allocations: 0.5665 MB / 1.748 GB, free: 88.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/3.477, allocations: 237.5 kB / 1.748 GB, free: 88.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/3.478, allocations: 1.179 MB / 1.75 GB, free: 88.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/3.481, allocations: 271.2 kB / 1.75 GB, free: 88.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/3.482, allocations: 53.05 kB / 1.75 GB, free: 88.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/3.482, allocations: 3.781 kB / 1.75 GB, free: 88.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004967/3.487, allocations: 1.415 MB / 1.751 GB, free: 88.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/3.487, allocations: 7.625 kB / 1.751 GB, free: 88.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/3.488, allocations: 0.5706 MB / 1.752 GB, free: 88.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/3.49, allocations: 232.7 kB / 1.752 GB, free: 88.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/3.492, allocations: 1.176 MB / 1.753 GB, free: 87.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/3.494, allocations: 247 kB / 1.753 GB, free: 87.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/3.494, allocations: 54.45 kB / 1.754 GB, free: 87.48 MB / 0.698 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 (74): * Single equations (assignments): 73 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.00107/3.496, allocations: 451.5 kB / 1.754 GB, free: 87.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005015/3.496, allocations: 148.4 kB / 1.754 GB, free: 87.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/3.501, allocations: 1.313 MB / 1.755 GB, free: 87.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/3.501, allocations: 6.875 kB / 1.755 GB, free: 87.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/3.501, allocations: 9.312 kB / 1.755 GB, free: 87.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003862/3.505, allocations: 1.191 MB / 1.757 GB, free: 86.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008657/3.513, allocations: 3.439 MB / 1.76 GB, free: 86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/3.513, allocations: 6.25 kB / 1.76 GB, free: 86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009892/3.514, allocations: 149.8 kB / 1.76 GB, free: 86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/3.516, allocations: 0.5473 MB / 1.761 GB, free: 86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-05/3.516, allocations: 31.23 kB / 1.761 GB, free: 86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/3.518, allocations: 1.158 MB / 1.762 GB, free: 85.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/3.518, allocations: 6.75 kB / 1.762 GB, free: 85.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004453/3.522, allocations: 1.653 MB / 1.763 GB, free: 84.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/3.523, allocations: 395.3 kB / 1.764 GB, free: 84.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004689/3.524, allocations: 17.03 kB / 1.764 GB, free: 84.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/3.526, allocations: 146.5 kB / 1.764 GB, free: 84.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/3.526, allocations: 53.7 kB / 1.764 GB, free: 84.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/3.526, allocations: 46.97 kB / 1.764 GB, free: 84.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002022/3.528, allocations: 0.9986 MB / 1.765 GB, free: 84.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/3.528, allocations: 3.609 kB / 1.765 GB, free: 84.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003994/3.532, allocations: 0.9757 MB / 1.766 GB, free: 84.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * 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 (40): * Single equations (assignments): 37 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002494/3.535, allocations: 0.896 MB / 1.767 GB, free: 84.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007315/3.542, allocations: 1.827 MB / 1.769 GB, free: 84.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/3.542, allocations: 3.562 kB / 1.769 GB, free: 84.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/3.544, allocations: 0.5429 MB / 1.769 GB, free: 84.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/3.548, allocations: 0.7823 MB / 1.77 GB, free: 84.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00815/3.557, allocations: 3.075 MB / 1.773 GB, free: 82.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/3.558, allocations: 1.241 MB / 1.774 GB, free: 82.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002511/3.56, allocations: 339.7 kB / 1.774 GB, free: 82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/3.561, allocations: 127.1 kB / 1.775 GB, free: 81.99 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/3.561, allocations: 0 / 1.775 GB, free: 81.99 MB / 0.698 GB Notification: Performance of Templates: time 0.06346/3.624, allocations: 40.75 MB / 1.814 GB, free: 79.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)