Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001409/0.001409, allocations: 180.9 kB / 361.4 MB, free: 6.793 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.889/1.889, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.001039/0.001038, allocations: 100.9 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.786e-05, allocations: 8 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8843/0.8843, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/2.089, allocations: 423.5 MB / 1.378 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/2.089, allocations: 87.83 kB / 1.378 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.077/6.166, allocations: 1.037 GB / 2.415 GB, free: 104.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/6.166, allocations: 2.25 kB / 2.415 GB, free: 104.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004607/6.166, allocations: 81.8 kB / 2.415 GB, free: 104.5 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.009456/6.176, allocations: 3.196 MB / 2.418 GB, free: 103.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/6.176, allocations: 11.06 kB / 2.418 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/6.186, allocations: 1.316 MB / 2.419 GB, free: 103 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009306/6.196, allocations: 3.308 MB / 2.422 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/6.196, allocations: 168.7 kB / 2.423 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009828/6.197, allocations: 145.7 kB / 2.423 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005305/6.202, allocations: 2.023 MB / 2.425 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005355/6.208, allocations: 2.492 MB / 2.427 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.593e-05/6.208, allocations: 6.75 kB / 2.427 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/6.208, allocations: 9.688 kB / 2.427 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.201e-05/6.208, allocations: 73.81 kB / 2.427 GB, free: 101.9 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.01852/6.227, allocations: 12.83 MB / 2.44 GB, free: 96.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/6.228, allocations: 1.19 MB / 2.441 GB, free: 96.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007723/6.229, allocations: 0.6232 MB / 2.442 GB, free: 96.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/6.23, allocations: 1.774 MB / 2.443 GB, free: 94.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/6.232, allocations: 0.9562 MB / 2.444 GB, free: 93.83 MB / 0.948 GB Notification: Performance of pre-optimization done (n=122): time 3.847e-06/6.232, allocations: 0 / 2.444 GB, free: 93.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.006714/6.239, allocations: 1.842 MB / 2.446 GB, free: 93.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001997/6.239, allocations: 0.9368 MB / 2.447 GB, free: 92.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/6.242, allocations: 1.852 MB / 2.449 GB, free: 92.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003601/6.242, allocations: 34.7 kB / 2.449 GB, free: 92.24 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/6.243, allocations: 1.377 MB / 2.45 GB, free: 91.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/6.244, allocations: 412.8 kB / 2.45 GB, free: 91.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/6.244, allocations: 1.188 kB / 2.45 GB, free: 91.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/6.244, allocations: 369.2 kB / 2.451 GB, free: 91.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009319/6.245, allocations: 0.6285 MB / 2.451 GB, free: 91.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/6.246, allocations: 1.225 MB / 2.453 GB, free: 90.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/6.25, allocations: 0.9813 MB / 2.454 GB, free: 90.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/6.25, allocations: 4.906 kB / 2.454 GB, free: 90.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01378/6.263, allocations: 2.934 MB / 2.456 GB, free: 90.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001096/6.265, allocations: 4.938 MB / 2.461 GB, free: 84.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/6.265, allocations: 10.38 kB / 2.461 GB, free: 84.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/6.266, allocations: 0.7131 MB / 2.462 GB, free: 84.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/6.269, allocations: 498.6 kB / 2.462 GB, free: 84.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/6.271, allocations: 1.9 MB / 2.464 GB, free: 83.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/6.277, allocations: 466.6 kB / 2.465 GB, free: 83.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/6.277, allocations: 105.8 kB / 2.465 GB, free: 83.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/6.277, allocations: 3.812 kB / 2.465 GB, free: 83.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01351/6.291, allocations: 2.642 MB / 2.467 GB, free: 83.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.238e-05/6.291, allocations: 14.02 kB / 2.467 GB, free: 83.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/6.292, allocations: 0.7132 MB / 2.468 GB, free: 83.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/6.295, allocations: 489.8 kB / 2.469 GB, free: 83.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/6.297, allocations: 1.903 MB / 2.471 GB, free: 82.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004907/6.302, allocations: 382.5 kB / 2.471 GB, free: 82.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004117/6.303, allocations: 105.5 kB / 2.471 GB, free: 82.6 MB / 0.948 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 () * 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.000639/6.303, allocations: 164.4 kB / 2.471 GB, free: 82.49 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007385/6.311, allocations: 1.839 MB / 2.473 GB, free: 82.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/6.312, allocations: 241.8 kB / 2.473 GB, free: 82.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/6.325, allocations: 2.429 MB / 2.476 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/6.325, allocations: 22.12 kB / 2.476 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/6.325, allocations: 3.438 kB / 2.476 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01298/6.338, allocations: 2.257 MB / 2.478 GB, free: 81.74 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01931/6.358, allocations: 6.841 MB / 2.484 GB, free: 79.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/6.358, allocations: 7.625 kB / 2.484 GB, free: 79.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/6.359, allocations: 295 kB / 2.485 GB, free: 79.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/6.361, allocations: 0.7026 MB / 2.485 GB, free: 79.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/6.361, allocations: 33.02 kB / 2.485 GB, free: 79.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/6.363, allocations: 1.89 MB / 2.487 GB, free: 78.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/6.363, allocations: 16.03 kB / 2.487 GB, free: 78.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006732/6.37, allocations: 3.403 MB / 2.491 GB, free: 77.44 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/6.372, allocations: 0.6359 MB / 2.491 GB, free: 77.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000598/6.372, allocations: 14.22 kB / 2.491 GB, free: 77.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003508/6.376, allocations: 266.5 kB / 2.492 GB, free: 77.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/6.376, allocations: 117.5 kB / 2.492 GB, free: 77.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/6.376, allocations: 73.3 kB / 2.492 GB, free: 77.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002225/6.378, allocations: 1.386 MB / 2.493 GB, free: 77.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.563e-06/6.379, allocations: 0 / 2.493 GB, free: 77.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006513/6.385, allocations: 1.819 MB / 2.495 GB, free: 76.73 MB / 0.948 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) * 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.00963/6.395, allocations: 7.069 MB / 2.502 GB, free: 72.97 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004778/6.399, allocations: 2.643 MB / 2.504 GB, free: 72.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/6.4, allocations: 4.469 kB / 2.504 GB, free: 72.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/6.401, allocations: 0.7684 MB / 2.505 GB, free: 72.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006052/6.407, allocations: 1.101 MB / 2.506 GB, free: 72.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/6.418, allocations: 4.296 MB / 2.51 GB, free: 71.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/6.419, allocations: 1.775 MB / 2.512 GB, free: 70.58 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004434/6.424, allocations: 0.7611 MB / 2.513 GB, free: 70.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/6.425, allocations: 1.092 MB / 2.514 GB, free: 70.42 MB / 0.948 GB Notification: Performance of SimCode: time 8.61e-07/6.425, allocations: 2.625 kB / 2.514 GB, free: 70.42 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/6.55, allocations: 87.72 MB / 2.6 GB, free: 53.77 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/6.55, allocations: 202.2 kB / 2.6 GB, free: 53.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.452/12, allocations: 3.125 kB / 2.6 GB, free: 53.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)