Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.00106/0.001059, allocations: 179.7 kB / 371.6 MB, free: 3.383 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.599/1.599, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001011/0.001011, allocations: 91.3 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.569e-05, allocations: 7.984 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2397, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.608/1.848, allocations: 424.7 MB / 1.395 GB, free: 295.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.848, allocations: 89.8 kB / 1.395 GB, free: 295.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.283/5.131, allocations: 1.042 GB / 2.436 GB, free: 25.17 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.474e-06/5.131, allocations: 0 / 2.436 GB, free: 25.17 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003658/5.131, allocations: 83.92 kB / 2.436 GB, free: 25.09 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008796/5.14, allocations: 3.184 MB / 2.439 GB, free: 21.81 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/5.14, allocations: 11.97 kB / 2.439 GB, free: 21.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005656/5.141, allocations: 320.7 kB / 2.44 GB, free: 21.47 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008609/5.149, allocations: 1.206 MB / 2.441 GB, free: 20.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007773/5.157, allocations: 3.305 MB / 2.444 GB, free: 16.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/5.157, allocations: 247.9 kB / 2.444 GB, free: 16.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005335/5.158, allocations: 231.9 kB / 2.445 GB, free: 16.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005093/5.163, allocations: 2.797 MB / 2.447 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/5.163, allocations: 7.938 kB / 2.447 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/5.163, allocations: 100 kB / 2.447 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.57e-05/5.163, allocations: 71.94 kB / 2.448 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00354/5.167, allocations: 2.105 MB / 2.45 GB, free: 11.11 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.02149/5.189, allocations: 13.14 MB / 2.462 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/5.191, allocations: 1.164 MB / 2.464 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/5.192, allocations: 0.6273 MB / 2.464 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/5.194, allocations: 1.77 MB / 2.466 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/5.196, allocations: 0.965 MB / 2.467 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.927e-06/5.196, allocations: 4 kB / 2.467 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of matching and sorting (n=118): time 0.005772/5.201, allocations: 1.695 MB / 2.468 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004736/5.202, allocations: 0.9397 MB / 2.469 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004718/5.207, allocations: 2.254 MB / 2.472 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000591/5.207, allocations: 61.7 kB / 2.472 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/5.209, allocations: 1.361 MB / 2.473 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008567/5.21, allocations: 418.1 kB / 2.473 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/5.21, allocations: 32 kB / 2.473 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002046/5.21, allocations: 365.9 kB / 2.474 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/5.212, allocations: 0.6249 MB / 2.474 GB, free: 308 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/5.213, allocations: 1.232 MB / 2.476 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/5.215, allocations: 0.7757 MB / 2.476 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/5.215, allocations: 4 kB / 2.476 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004951/5.22, allocations: 2.227 MB / 2.479 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001856/5.222, allocations: 5.031 MB / 2.483 GB, free: 6.344 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/5.222, allocations: 12 kB / 2.483 GB, free: 6.332 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/5.224, allocations: 0.6403 MB / 2.484 GB, free: 5.688 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/5.227, allocations: 0.4953 MB / 2.485 GB, free: 5.191 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/5.229, allocations: 1.69 MB / 2.486 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005386/5.234, allocations: 0.5131 MB / 2.487 GB, free: 2.938 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/5.235, allocations: 107.9 kB / 2.487 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/5.235, allocations: 6.344 kB / 2.487 GB, free: 2.828 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00385/5.238, allocations: 1.952 MB / 2.489 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/5.238, allocations: 15.95 kB / 2.489 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/5.241, allocations: 0.6463 MB / 2.489 GB, free: 200 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7576/5.998, allocations: 478.8 kB / 2.49 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/6.001, allocations: 1.688 MB / 2.491 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005512/6.006, allocations: 442.5 kB / 2.492 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004108/6.007, allocations: 106.4 kB / 2.492 GB, free: 107.5 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 () * 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0007887/6.007, allocations: 220.1 kB / 2.492 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/6.008, allocations: 276.8 kB / 2.492 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005801/6.014, allocations: 1.71 MB / 2.494 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/6.014, allocations: 17.34 kB / 2.494 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/6.014, allocations: 5.031 kB / 2.494 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004372/6.019, allocations: 1.488 MB / 2.496 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/6.033, allocations: 6.409 MB / 2.502 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/6.033, allocations: 7.547 kB / 2.502 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/6.035, allocations: 292.1 kB / 2.502 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/6.037, allocations: 0.6327 MB / 2.503 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/6.038, allocations: 51.66 kB / 2.503 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/6.039, allocations: 1.684 MB / 2.504 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/6.04, allocations: 12.78 kB / 2.504 GB, free: 104 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00682/6.046, allocations: 3.283 MB / 2.508 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/6.049, allocations: 0.6546 MB / 2.508 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008171/6.05, allocations: 39.55 kB / 2.508 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00373/6.053, allocations: 278 kB / 2.509 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/6.054, allocations: 117.7 kB / 2.509 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/6.054, allocations: 71.61 kB / 2.509 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004221/6.058, allocations: 1.741 MB / 2.511 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.31e-07/6.058, allocations: 0 / 2.511 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007603/6.066, allocations: 1.837 MB / 2.512 GB, free: 102.1 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) * 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.009065/6.075, allocations: 6.831 MB / 2.519 GB, free: 98.47 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005785/6.081, allocations: 2.705 MB / 2.522 GB, free: 98.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-05/6.081, allocations: 9.344 kB / 2.522 GB, free: 98.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/6.083, allocations: 0.7675 MB / 2.522 GB, free: 98.29 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007589/6.09, allocations: 1.407 MB / 2.524 GB, free: 98.26 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/6.103, allocations: 4.66 MB / 2.528 GB, free: 97.08 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/6.104, allocations: 1.771 MB / 2.53 GB, free: 96.34 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004223/6.108, allocations: 0.8557 MB / 2.531 GB, free: 96.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/6.11, allocations: 1.108 MB / 2.532 GB, free: 96.3 MB / 0.9792 GB Notification: Performance of SimCode: time 2.504e-06/6.11, allocations: 2.5 kB / 2.532 GB, free: 96.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1993/6.309, allocations: 103.6 MB / 2.633 GB, free: 91.82 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/6.309, allocations: 242.7 kB / 2.633 GB, free: 91.49 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.33/12.64, allocations: 0 / 2.633 GB, free: 91.49 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)