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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7428/0.7428, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.5 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 426.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000859/0.000859, allocations: 82.36 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001618/0.001618, allocations: 277 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004448, allocations: 20 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3342, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6436/0.9778, allocations: 391.8 MB / 1.122 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.9781, allocations: 97.97 kB / 1.122 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.958/2.936, allocations: 0.5406 GB / 1.663 GB, free: 93.36 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.244e-06/2.936, allocations: 0 / 1.663 GB, free: 93.36 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003062/2.937, allocations: 43.17 kB / 1.663 GB, free: 93.36 MB / 0.6667 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.006358/2.943, allocations: 2.07 MB / 1.665 GB, free: 92.65 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/2.943, allocations: 14.19 kB / 1.665 GB, free: 92.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/2.948, allocations: 0.6632 MB / 1.665 GB, free: 92.55 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004155/2.952, allocations: 1.788 MB / 1.667 GB, free: 92.19 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/2.952, allocations: 130.3 kB / 1.667 GB, free: 92.15 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003878/2.952, allocations: 116.7 kB / 1.667 GB, free: 92.15 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004664/2.957, allocations: 1.642 MB / 1.669 GB, free: 91.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/2.957, allocations: 4.906 kB / 1.669 GB, free: 91.89 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/2.957, allocations: 50.97 kB / 1.669 GB, free: 91.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/2.958, allocations: 36.31 kB / 1.669 GB, free: 91.89 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004879/2.962, allocations: 1.463 MB / 1.671 GB, free: 91.88 MB / 0.6667 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.01142/2.974, allocations: 6.758 MB / 1.677 GB, free: 89.05 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/2.976, allocations: 0.6879 MB / 1.678 GB, free: 89.02 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/2.977, allocations: 484.8 kB / 1.678 GB, free: 89.01 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/2.978, allocations: 1.272 MB / 1.68 GB, free: 87.61 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/2.978, allocations: 41.97 kB / 1.68 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=64): time 3.336e-06/2.978, allocations: 0 / 1.68 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64): time 0.02608/3.004, allocations: 3.836 MB / 1.683 GB, free: 87.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/3.005, allocations: 111 kB / 1.683 GB, free: 87.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/3.007, allocations: 1.369 MB / 1.685 GB, free: 87.05 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003021/3.008, allocations: 41.45 kB / 1.685 GB, free: 87.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007176/3.008, allocations: 0.7001 MB / 1.685 GB, free: 86.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/3.009, allocations: 227.6 kB / 1.686 GB, free: 86.69 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/3.009, allocations: 16.88 kB / 1.686 GB, free: 86.69 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001008/3.009, allocations: 337.9 kB / 1.686 GB, free: 86.39 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/3.011, allocations: 0.4959 MB / 1.686 GB, free: 86.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/3.013, allocations: 0.7802 MB / 1.687 GB, free: 86.08 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/3.016, allocations: 1.118 MB / 1.688 GB, free: 85.85 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/3.016, allocations: 3.969 kB / 1.688 GB, free: 85.85 MB / 0.6667 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01208/3.029, allocations: 2.098 MB / 1.69 GB, free: 85.72 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/3.029, allocations: 275.9 kB / 1.691 GB, free: 85.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/3.029, allocations: 7.422 kB / 1.691 GB, free: 85.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/3.031, allocations: 492.2 kB / 1.691 GB, free: 85.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/3.032, allocations: 255.4 kB / 1.691 GB, free: 85.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/3.033, allocations: 0.9958 MB / 1.692 GB, free: 84.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/3.036, allocations: 277 kB / 1.693 GB, free: 84.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/3.037, allocations: 55.34 kB / 1.693 GB, free: 84.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/3.037, allocations: 3 kB / 1.693 GB, free: 84.84 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01102/3.048, allocations: 1.944 MB / 1.695 GB, free: 84.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/3.048, allocations: 3.406 kB / 1.695 GB, free: 84.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/3.049, allocations: 490.6 kB / 1.695 GB, free: 84.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/3.051, allocations: 253.2 kB / 1.695 GB, free: 84.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/3.052, allocations: 0.9991 MB / 1.696 GB, free: 84.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/3.055, allocations: 234.2 kB / 1.696 GB, free: 84.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/3.055, allocations: 60.16 kB / 1.697 GB, free: 84.22 MB / 0.6667 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.001161/3.056, allocations: 448.9 kB / 1.697 GB, free: 84.03 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/3.057, allocations: 150.2 kB / 1.697 GB, free: 83.96 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/3.06, allocations: 1.25 MB / 1.698 GB, free: 83.87 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/3.061, allocations: 6.562 kB / 1.698 GB, free: 83.87 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/3.061, allocations: 2.062 kB / 1.698 GB, free: 83.87 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003206/3.064, allocations: 1.123 MB / 1.699 GB, free: 83.69 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007276/3.071, allocations: 2.995 MB / 1.702 GB, free: 83.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/3.071, allocations: 5.625 kB / 1.702 GB, free: 83.19 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/3.072, allocations: 149.6 kB / 1.703 GB, free: 83.19 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/3.073, allocations: 482.8 kB / 1.703 GB, free: 83.18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/3.073, allocations: 23.89 kB / 1.703 GB, free: 83.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/3.075, allocations: 0.9894 MB / 1.704 GB, free: 82.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/3.075, allocations: 10.16 kB / 1.704 GB, free: 82.65 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/3.08, allocations: 1.922 MB / 1.706 GB, free: 82.28 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009743/3.081, allocations: 382.6 kB / 1.706 GB, free: 82.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004679/3.081, allocations: 22.03 kB / 1.706 GB, free: 82.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/3.083, allocations: 149.1 kB / 1.706 GB, free: 82.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/3.083, allocations: 60.94 kB / 1.706 GB, free: 82.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/3.084, allocations: 44.08 kB / 1.706 GB, free: 82.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001812/3.085, allocations: 0.9658 MB / 1.707 GB, free: 81.99 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.1e-07/3.085, allocations: 3.875 kB / 1.707 GB, free: 81.99 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003252/3.089, allocations: 0.9409 MB / 1.708 GB, free: 81.85 MB / 0.6667 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.001819/3.09, allocations: 0.8408 MB / 1.709 GB, free: 81.63 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005578/3.096, allocations: 1.784 MB / 1.711 GB, free: 81.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/3.096, allocations: 0 / 1.711 GB, free: 81.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/3.098, allocations: 0.5178 MB / 1.711 GB, free: 81.59 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/3.103, allocations: 0.8131 MB / 1.712 GB, free: 81.58 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/3.109, allocations: 3.142 MB / 1.715 GB, free: 80.17 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008218/3.109, allocations: 1.21 MB / 1.716 GB, free: 79.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002086/3.111, allocations: 366.6 kB / 1.717 GB, free: 79.44 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/3.112, allocations: 130 kB / 1.717 GB, free: 79.43 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/3.112, allocations: 0 / 1.717 GB, free: 79.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.05944/3.171, allocations: 40.78 MB / 1.757 GB, free: 77.08 MB / 0.6667 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)