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.9338/0.9338, 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.001177/0.001177, allocations: 186.4 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.576/1.576, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.0009851/0.0009856, allocations: 93.95 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 279.6 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.903e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5175, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9569/1.474, allocations: 394.4 MB / 1.149 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.475, allocations: 93.39 kB / 1.15 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.024/3.499, allocations: 0.558 GB / 1.708 GB, free: 19 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.021e-06/3.499, allocations: 0 / 1.708 GB, free: 19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001342/3.499, allocations: 47.92 kB / 1.708 GB, free: 18.96 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.003631/3.503, allocations: 1.847 MB / 1.709 GB, free: 17.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/3.503, allocations: 8.031 kB / 1.709 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004621/3.508, allocations: 0.6691 MB / 1.71 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/3.511, allocations: 1.774 MB / 1.712 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/3.511, allocations: 127.9 kB / 1.712 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/3.512, allocations: 116 kB / 1.712 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/3.514, allocations: 1.46 MB / 1.713 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/3.514, allocations: 3.984 kB / 1.713 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/3.514, allocations: 48 kB / 1.713 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/3.514, allocations: 54.11 kB / 1.714 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/3.516, allocations: 1.11 MB / 1.715 GB, free: 11.5 MB / 0.698 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.009404/3.525, allocations: 7.089 MB / 1.722 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009746/3.526, allocations: 0.6062 MB / 1.722 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/3.527, allocations: 350.9 kB / 1.722 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/3.528, allocations: 1.267 MB / 1.724 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/3.528, allocations: 47.06 kB / 1.724 GB, free: 1.523 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 3.267e-06/3.528, allocations: 0 / 1.724 GB, free: 1.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.002016/3.53, allocations: 0.8731 MB / 1.725 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/3.53, allocations: 115.4 kB / 1.725 GB, free: 0.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4657/3.996, allocations: 1.217 MB / 1.726 GB, free: 100.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002676/3.996, allocations: 44.08 kB / 1.726 GB, free: 100.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/3.997, allocations: 0.6974 MB / 1.727 GB, free: 100.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/3.997, allocations: 228 kB / 1.727 GB, free: 100.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/3.997, allocations: 16.28 kB / 1.727 GB, free: 100.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.548e-05/3.997, allocations: 338.3 kB / 1.727 GB, free: 100 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/3.998, allocations: 317.2 kB / 1.727 GB, free: 100 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/3.999, allocations: 0.5985 MB / 1.728 GB, free: 99.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/3.999, allocations: 374.4 kB / 1.728 GB, free: 99.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/3.999, allocations: 1.75 kB / 1.728 GB, free: 99.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002537/4.002, allocations: 1.17 MB / 1.73 GB, free: 99.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005053/4.002, allocations: 2.493 MB / 1.732 GB, free: 97.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/4.002, allocations: 9.594 kB / 1.732 GB, free: 97.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/4.004, allocations: 0.5249 MB / 1.733 GB, free: 97.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/4.006, allocations: 238.8 kB / 1.733 GB, free: 97.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/4.007, allocations: 1.082 MB / 1.734 GB, free: 96.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/4.01, allocations: 284.7 kB / 1.734 GB, free: 96.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/4.01, allocations: 52.36 kB / 1.734 GB, free: 96.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/4.01, allocations: 3.719 kB / 1.734 GB, free: 96.46 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002007/4.012, allocations: 1.012 MB / 1.735 GB, free: 96.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/4.012, allocations: 3.781 kB / 1.735 GB, free: 96.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/4.014, allocations: 0.5168 MB / 1.736 GB, free: 96.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/4.015, allocations: 240.3 kB / 1.736 GB, free: 96.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/4.016, allocations: 1.088 MB / 1.737 GB, free: 95.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/4.018, allocations: 238.9 kB / 1.737 GB, free: 95.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/4.019, allocations: 56.61 kB / 1.737 GB, free: 95.87 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 () * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003273/4.019, allocations: 170.9 kB / 1.737 GB, free: 95.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/4.019, allocations: 144.9 kB / 1.738 GB, free: 95.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/4.022, allocations: 1.067 MB / 1.739 GB, free: 95.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/4.022, allocations: 10.47 kB / 1.739 GB, free: 95.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/4.022, allocations: 0 / 1.739 GB, free: 95.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002632/4.025, allocations: 0.9415 MB / 1.739 GB, free: 95.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/4.03, allocations: 3.109 MB / 1.743 GB, free: 94.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/4.03, allocations: 3.375 kB / 1.743 GB, free: 94.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008477/4.031, allocations: 151.1 kB / 1.743 GB, free: 94.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/4.032, allocations: 0.4963 MB / 1.743 GB, free: 94.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/4.032, allocations: 24.95 kB / 1.743 GB, free: 94.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009786/4.033, allocations: 1.071 MB / 1.744 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/4.033, allocations: 5.906 kB / 1.744 GB, free: 93.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/4.035, allocations: 1.325 MB / 1.746 GB, free: 93.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006495/4.035, allocations: 388.9 kB / 1.746 GB, free: 93.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/4.036, allocations: 21.97 kB / 1.746 GB, free: 93.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/4.037, allocations: 139.1 kB / 1.746 GB, free: 93.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/4.037, allocations: 63.42 kB / 1.746 GB, free: 93.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.591e-05/4.037, allocations: 40.44 kB / 1.746 GB, free: 93.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001213/4.039, allocations: 0.9549 MB / 1.747 GB, free: 93.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/4.039, allocations: 0 / 1.747 GB, free: 93.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00291/4.041, allocations: 0.9871 MB / 1.748 GB, free: 92.98 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) * 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.001779/4.043, allocations: 0.8751 MB / 1.749 GB, free: 92.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002652/4.046, allocations: 1.39 MB / 1.75 GB, free: 92.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/4.046, allocations: 0 / 1.75 GB, free: 92.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006557/4.047, allocations: 401 kB / 1.751 GB, free: 92.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/4.05, allocations: 0.7919 MB / 1.751 GB, free: 92.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/4.054, allocations: 1.899 MB / 1.753 GB, free: 92.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/4.055, allocations: 1.24 MB / 1.754 GB, free: 91.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002049/4.057, allocations: 433.5 kB / 1.755 GB, free: 91.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/4.057, allocations: 95.09 kB / 1.755 GB, free: 91.46 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/4.057, allocations: 0 / 1.755 GB, free: 91.46 MB / 0.698 GB Notification: Performance of Templates: time 0.06178/4.119, allocations: 43.88 MB / 1.798 GB, free: 89.69 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)