Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.802/1.802, allocations: 297.8 MB / 313.7 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 176.5 kB / 384.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 0.6626 GB, free: 4.375 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008975/0.0008973, allocations: 94.98 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 14 kB / 0.9088 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6128, allocations: 120.3 MB / 1.026 GB, free: 55.97 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8271/1.44, allocations: 426.1 MB / 1.442 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/1.44, allocations: 95.2 kB / 1.442 GB, free: 245.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.48/2.92, allocations: 0.5503 GB / 1.993 GB, free: 81.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/2.92, allocations: 0 / 1.993 GB, free: 81.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002102/2.92, allocations: 46.28 kB / 1.993 GB, free: 81.44 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.005/2.925, allocations: 2.069 MB / 1.995 GB, free: 79.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/2.925, allocations: 12.03 kB / 1.995 GB, free: 79.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004407/2.93, allocations: 0.6584 MB / 1.995 GB, free: 78.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/2.933, allocations: 1.787 MB / 1.997 GB, free: 76.85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/2.934, allocations: 129 kB / 1.997 GB, free: 76.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004139/2.934, allocations: 124 kB / 1.997 GB, free: 76.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004021/2.938, allocations: 1.638 MB / 1.999 GB, free: 74.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/2.938, allocations: 7.938 kB / 1.999 GB, free: 74.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/2.938, allocations: 56 kB / 1.999 GB, free: 74.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/2.938, allocations: 35.98 kB / 1.999 GB, free: 74.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004179/2.943, allocations: 1.457 MB / 2.001 GB, free: 73.3 MB / 0.948 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.009614/2.952, allocations: 6.771 MB / 2.007 GB, free: 66.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/2.954, allocations: 0.6885 MB / 2.008 GB, free: 65.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/2.955, allocations: 486.2 kB / 2.008 GB, free: 65.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009503/2.956, allocations: 1.269 MB / 2.01 GB, free: 63.58 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/2.956, allocations: 47.12 kB / 2.01 GB, free: 63.53 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 2.715e-06/2.956, allocations: 0 / 2.01 GB, free: 63.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.02491/2.981, allocations: 3.838 MB / 2.013 GB, free: 59.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/2.981, allocations: 111.4 kB / 2.013 GB, free: 59.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/2.984, allocations: 1.363 MB / 2.015 GB, free: 58.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002106/2.984, allocations: 49.64 kB / 2.015 GB, free: 58.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/2.984, allocations: 0.6985 MB / 2.015 GB, free: 57.39 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/2.985, allocations: 225.5 kB / 2.016 GB, free: 57.17 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/2.985, allocations: 23.94 kB / 2.016 GB, free: 57.15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/2.985, allocations: 334 kB / 2.016 GB, free: 56.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/2.987, allocations: 0.4976 MB / 2.017 GB, free: 56.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/2.988, allocations: 0.7732 MB / 2.017 GB, free: 55.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/2.991, allocations: 1.117 MB / 2.018 GB, free: 54.22 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/2.991, allocations: 0 / 2.018 GB, free: 54.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01114/3.003, allocations: 2.1 MB / 2.02 GB, free: 52.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/3.003, allocations: 280.9 kB / 2.021 GB, free: 51.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/3.003, allocations: 4 kB / 2.021 GB, free: 51.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/3.004, allocations: 484.4 kB / 2.021 GB, free: 51.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/3.006, allocations: 259.6 kB / 2.021 GB, free: 51.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/3.007, allocations: 0.9921 MB / 2.022 GB, free: 50 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/3.01, allocations: 270.6 kB / 2.023 GB, free: 49.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/3.01, allocations: 59.94 kB / 2.023 GB, free: 49.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/3.01, allocations: 4 kB / 2.023 GB, free: 49.67 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01043/3.02, allocations: 1.94 MB / 2.025 GB, free: 47.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/3.02, allocations: 8 kB / 2.025 GB, free: 47.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/3.022, allocations: 488.7 kB / 2.025 GB, free: 47.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/3.023, allocations: 255.6 kB / 2.025 GB, free: 46.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/3.025, allocations: 0.9968 MB / 2.026 GB, free: 45.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/3.027, allocations: 238.8 kB / 2.027 GB, free: 45.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/3.027, allocations: 55.95 kB / 2.027 GB, free: 45.68 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 () * 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.0009698/3.028, allocations: 452.2 kB / 2.027 GB, free: 45.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/3.028, allocations: 142.3 kB / 2.027 GB, free: 45.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/3.032, allocations: 1.251 MB / 2.028 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/3.032, allocations: 4 kB / 2.028 GB, free: 43.81 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/3.032, allocations: 0 / 2.028 GB, free: 43.81 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002997/3.035, allocations: 1.119 MB / 2.029 GB, free: 42.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00675/3.042, allocations: 2.988 MB / 2.032 GB, free: 39.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/3.042, allocations: 4 kB / 2.032 GB, free: 39.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008129/3.043, allocations: 151.9 kB / 2.033 GB, free: 39.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/3.044, allocations: 492.2 kB / 2.033 GB, free: 38.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/3.044, allocations: 27.97 kB / 2.033 GB, free: 38.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/3.046, allocations: 0.9948 MB / 2.034 GB, free: 37.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/3.046, allocations: 7.938 kB / 2.034 GB, free: 37.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/3.051, allocations: 1.913 MB / 2.036 GB, free: 35.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000893/3.052, allocations: 390.9 kB / 2.036 GB, free: 35.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/3.052, allocations: 19.98 kB / 2.036 GB, free: 35.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/3.054, allocations: 147.8 kB / 2.036 GB, free: 35.33 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/3.054, allocations: 52.25 kB / 2.036 GB, free: 35.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/3.054, allocations: 47.94 kB / 2.036 GB, free: 35.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001991/3.056, allocations: 0.966 MB / 2.037 GB, free: 34.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/3.056, allocations: 4 kB / 2.037 GB, free: 34.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003911/3.06, allocations: 0.9396 MB / 2.038 GB, free: 33.32 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) * 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.001932/3.062, allocations: 0.8396 MB / 2.039 GB, free: 32.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00549/3.068, allocations: 1.775 MB / 2.041 GB, free: 30.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/3.068, allocations: 4.062 kB / 2.041 GB, free: 30.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/3.069, allocations: 0.5174 MB / 2.041 GB, free: 30.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004852/3.074, allocations: 0.8188 MB / 2.042 GB, free: 29.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/3.08, allocations: 3.14 MB / 2.045 GB, free: 26.22 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/3.081, allocations: 1.211 MB / 2.046 GB, free: 24.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001925/3.083, allocations: 364.2 kB / 2.047 GB, free: 24.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/3.083, allocations: 135.3 kB / 2.047 GB, free: 24.49 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/3.083, allocations: 0 / 2.047 GB, free: 24.49 MB / 0.948 GB Notification: Performance of Templates: time 0.05899/3.142, allocations: 40.75 MB / 2.087 GB, free: 164 kB / 0.9636 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)