Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 289.7 MB / 302.2 MB, free: 2.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 181.2 kB / 371.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008914/0.0008913, allocations: 89.14 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.304e-05, allocations: 8 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3285, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.868/2.197, allocations: 423.5 MB / 1.393 GB, free: 295.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/2.197, allocations: 90.44 kB / 1.393 GB, free: 295.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.89/4.087, allocations: 0.5473 GB / 1.941 GB, free: 165.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884e-06/4.087, allocations: 0 / 1.941 GB, free: 165.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002736/4.087, allocations: 47.42 kB / 1.941 GB, free: 165.1 MB / 0.948 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.005892/4.093, allocations: 1.812 MB / 1.943 GB, free: 163.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/4.093, allocations: 10.88 kB / 1.943 GB, free: 163.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/4.099, allocations: 0.6682 MB / 1.943 GB, free: 163.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005468/4.104, allocations: 1.767 MB / 1.945 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/4.104, allocations: 132.3 kB / 1.945 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/4.105, allocations: 125.3 kB / 1.945 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/4.108, allocations: 1.443 MB / 1.947 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.459e-05/4.109, allocations: 7.828 kB / 1.947 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/4.109, allocations: 47.25 kB / 1.947 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/4.109, allocations: 34.59 kB / 1.947 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/4.111, allocations: 1.107 MB / 1.948 GB, free: 160.6 MB / 0.948 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.01125/4.122, allocations: 6.819 MB / 1.954 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/4.123, allocations: 0.5457 MB / 1.955 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/4.124, allocations: 344.5 kB / 1.955 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/4.125, allocations: 1.272 MB / 1.957 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/4.125, allocations: 38.53 kB / 1.957 GB, free: 153 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 3.907e-06/4.125, allocations: 3.938 kB / 1.957 GB, free: 153 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.009602/4.135, allocations: 1.444 MB / 1.958 GB, free: 152.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/4.135, allocations: 118.3 kB / 1.958 GB, free: 152.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/4.138, allocations: 1.213 MB / 1.959 GB, free: 151.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002927/4.138, allocations: 44.73 kB / 1.959 GB, free: 151.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007028/4.139, allocations: 0.7039 MB / 1.96 GB, free: 150.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/4.139, allocations: 221.6 kB / 1.96 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/4.139, allocations: 19.97 kB / 1.96 GB, free: 150.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001036/4.139, allocations: 337.8 kB / 1.961 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/4.14, allocations: 332.3 kB / 1.961 GB, free: 150.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008011/4.141, allocations: 0.5955 MB / 1.961 GB, free: 149.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/4.142, allocations: 392.9 kB / 1.962 GB, free: 149.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/4.142, allocations: 0 / 1.962 GB, free: 149.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.009819/4.151, allocations: 1.731 MB / 1.964 GB, free: 148.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005748/4.152, allocations: 2.488 MB / 1.966 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/4.152, allocations: 7.781 kB / 1.966 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/4.154, allocations: 422.4 kB / 1.966 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/4.155, allocations: 259.4 kB / 1.967 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/4.156, allocations: 0.909 MB / 1.968 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/4.159, allocations: 283.8 kB / 1.968 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/4.16, allocations: 52.98 kB / 1.968 GB, free: 144.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/4.16, allocations: 2.312 kB / 1.968 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009258/4.169, allocations: 1.58 MB / 1.969 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/4.169, allocations: 7.781 kB / 1.969 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/4.17, allocations: 416.4 kB / 1.97 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/4.172, allocations: 259.9 kB / 1.97 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008914/4.173, allocations: 0.8999 MB / 1.971 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/4.175, allocations: 238.6 kB / 1.971 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/4.176, allocations: 54.05 kB / 1.971 GB, free: 143.1 MB / 0.948 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 (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.0004716/4.176, allocations: 158.3 kB / 1.971 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005816/4.177, allocations: 145.4 kB / 1.971 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/4.179, allocations: 0.9568 MB / 1.972 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/4.179, allocations: 3.906 kB / 1.972 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/4.179, allocations: 7.406 kB / 1.972 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/4.18, allocations: 0.8092 MB / 1.973 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/4.186, allocations: 2.705 MB / 1.976 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/4.186, allocations: 10.11 kB / 1.976 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/4.187, allocations: 156.9 kB / 1.976 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/4.188, allocations: 401.5 kB / 1.976 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/4.188, allocations: 25.59 kB / 1.976 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008393/4.189, allocations: 0.9083 MB / 1.977 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/4.189, allocations: 3.719 kB / 1.977 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/4.191, allocations: 1.717 MB / 1.979 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/4.193, allocations: 390.8 kB / 1.979 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005377/4.193, allocations: 25.41 kB / 1.979 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/4.195, allocations: 144.2 kB / 1.98 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/4.195, allocations: 58 kB / 1.98 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/4.196, allocations: 43.48 kB / 1.98 GB, free: 137.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001981/4.198, allocations: 0.9641 MB / 1.981 GB, free: 136.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.22e-07/4.198, allocations: 0 / 1.981 GB, free: 136.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004403/4.202, allocations: 0.9837 MB / 1.982 GB, free: 136.4 MB / 0.948 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) * 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.00259/4.205, allocations: 0.8893 MB / 1.982 GB, free: 136 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00296/4.208, allocations: 1.354 MB / 1.984 GB, free: 135.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/4.208, allocations: 0 / 1.984 GB, free: 135.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007403/4.208, allocations: 394.2 kB / 1.984 GB, free: 135.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004291/4.213, allocations: 0.788 MB / 1.985 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/4.218, allocations: 1.984 MB / 1.987 GB, free: 133 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009168/4.219, allocations: 1.233 MB / 1.988 GB, free: 131.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002749/4.221, allocations: 455.1 kB / 1.988 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/4.222, allocations: 107.3 kB / 1.989 GB, free: 131.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/4.222, allocations: 0 / 1.989 GB, free: 131.2 MB / 0.948 GB Notification: Performance of Templates: time 0.06324/4.285, allocations: 43.06 MB / 2.031 GB, free: 88.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)