Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.564/2.564, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001536/0.001536, allocations: 177.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.001189, allocations: 94.86 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.0005028, allocations: 16 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2348, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.397/1.632, allocations: 424.1 MB / 1.392 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/1.633, allocations: 95.7 kB / 1.393 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.704/7.337, allocations: 1.045 GB / 2.438 GB, free: 53.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.166e-06/7.337, allocations: 0 / 2.438 GB, free: 53.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005284/7.338, allocations: 79.97 kB / 2.438 GB, free: 53.56 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01492/7.352, allocations: 3.693 MB / 2.441 GB, free: 49.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/7.353, allocations: 12.03 kB / 2.441 GB, free: 49.75 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001637/7.354, allocations: 335.5 kB / 2.442 GB, free: 49.42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/7.373, allocations: 1.323 MB / 2.443 GB, free: 48.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/7.385, allocations: 3.327 MB / 2.446 GB, free: 44.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/7.385, allocations: 255.9 kB / 2.446 GB, free: 44.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/7.386, allocations: 232 kB / 2.447 GB, free: 44.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/7.401, allocations: 3.208 MB / 2.45 GB, free: 40.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/7.401, allocations: 11.84 kB / 2.45 GB, free: 40.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006422/7.402, allocations: 100 kB / 2.45 GB, free: 40.69 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/7.402, allocations: 64 kB / 2.45 GB, free: 40.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/7.42, allocations: 2.882 MB / 2.453 GB, free: 37.73 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.03461/7.455, allocations: 13.33 MB / 2.466 GB, free: 23.87 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008074/7.463, allocations: 1.61 MB / 2.467 GB, free: 22.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002364/7.466, allocations: 1.777 MB / 2.469 GB, free: 20.06 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007101/7.473, allocations: 1.277 MB / 2.47 GB, free: 18.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=122): time 7.093e-06/7.473, allocations: 0 / 2.47 GB, free: 18.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.08052/7.553, allocations: 6.124 MB / 2.476 GB, free: 12.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003034/7.554, allocations: 0.9358 MB / 2.477 GB, free: 11.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007333/7.561, allocations: 2.336 MB / 2.479 GB, free: 8.996 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006521/7.562, allocations: 61.7 kB / 2.479 GB, free: 8.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001869/7.564, allocations: 1.375 MB / 2.481 GB, free: 7.539 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008167/7.564, allocations: 429.9 kB / 2.481 GB, free: 7.113 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/7.565, allocations: 28 kB / 2.481 GB, free: 7.086 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001341/7.565, allocations: 369.9 kB / 2.482 GB, free: 6.719 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007472/7.572, allocations: 1.003 MB / 2.483 GB, free: 5.715 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008291/7.581, allocations: 1.614 MB / 2.484 GB, free: 3.848 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007784/7.589, allocations: 1.131 MB / 2.485 GB, free: 2.715 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/7.589, allocations: 8 kB / 2.485 GB, free: 2.707 MB / 0.948 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.03542/7.624, allocations: 3.646 MB / 2.489 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00235/7.626, allocations: 5.039 MB / 2.494 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-05/7.627, allocations: 12 kB / 2.494 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006129/7.633, allocations: 0.9594 MB / 2.495 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00563/7.638, allocations: 495.2 kB / 2.495 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/7.644, allocations: 1.988 MB / 2.497 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/7.655, allocations: 0.5364 MB / 2.498 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007825/7.656, allocations: 111.9 kB / 2.498 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/7.656, allocations: 4 kB / 2.498 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0349/7.691, allocations: 3.325 MB / 2.501 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/7.691, allocations: 12 kB / 2.501 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005835/7.697, allocations: 0.9624 MB / 2.502 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/7.702, allocations: 475.2 kB / 2.502 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/7.708, allocations: 1.987 MB / 2.504 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008921/7.717, allocations: 461.8 kB / 2.505 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007749/7.718, allocations: 113.9 kB / 2.505 GB, free: 14.11 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.003013/7.721, allocations: 0.7016 MB / 2.506 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/7.722, allocations: 268.8 kB / 2.506 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03294/7.755, allocations: 2.944 MB / 2.509 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.923e-05/7.755, allocations: 16 kB / 2.509 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/7.755, allocations: 4 kB / 2.509 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03108/7.786, allocations: 2.712 MB / 2.511 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8824/8.669, allocations: 7.65 MB / 2.519 GB, free: 130.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.02e-05/8.669, allocations: 8.75 kB / 2.519 GB, free: 130.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003801/8.673, allocations: 289.8 kB / 2.519 GB, free: 130.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005992/8.679, allocations: 0.9401 MB / 2.52 GB, free: 130.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004343/8.679, allocations: 51.69 kB / 2.52 GB, free: 130.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/8.685, allocations: 1.984 MB / 2.522 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.66e-05/8.685, allocations: 9.469 kB / 2.522 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0255/8.71, allocations: 4.313 MB / 2.526 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003192/8.714, allocations: 0.6727 MB / 2.527 GB, free: 128 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001428/8.715, allocations: 43.28 kB / 2.527 GB, free: 128 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007552/8.723, allocations: 290.3 kB / 2.527 GB, free: 128 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/8.723, allocations: 111.6 kB / 2.527 GB, free: 128 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003837/8.724, allocations: 74.8 kB / 2.527 GB, free: 128 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006828/8.731, allocations: 1.827 MB / 2.529 GB, free: 127.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.41e-07/8.731, allocations: 0 / 2.529 GB, free: 127.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01123/8.742, allocations: 1.854 MB / 2.531 GB, free: 127.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02975/8.772, allocations: 7.866 MB / 2.539 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02448/8.796, allocations: 3.662 MB / 2.542 GB, free: 124 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-05/8.796, allocations: 4.5 kB / 2.542 GB, free: 124 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007311/8.804, allocations: 1.091 MB / 2.543 GB, free: 124 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01298/8.817, allocations: 1.403 MB / 2.545 GB, free: 124 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08628/8.903, allocations: 27.02 MB / 2.571 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/8.905, allocations: 1.774 MB / 2.573 GB, free: 108 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.006127/8.911, allocations: 0.6904 MB / 2.573 GB, free: 108 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/8.914, allocations: 1.152 MB / 2.575 GB, free: 108 MB / 0.9792 GB Notification: Performance of SimCode: time 1.063e-06/8.914, allocations: 0 / 2.575 GB, free: 108 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2421/9.156, allocations: 102.1 MB / 2.674 GB, free: 103 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/9.157, allocations: 275.2 kB / 2.675 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/16.57, allocations: 4 kB / 2.675 GB, free: 102.7 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)