Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.818/1.818, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001388/0.001388, allocations: 173.8 kB / 371.8 MB, free: 10.28 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.859/1.859, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.001257/0.001257, allocations: 97.34 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004393, allocations: 15.14 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2659, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.388, allocations: 424.4 MB / 1.394 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/1.388, allocations: 99.11 kB / 1.394 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.91/5.298, allocations: 1.045 GB / 2.44 GB, free: 50.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.335e-06/5.298, allocations: 0 / 2.44 GB, free: 50.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005392/5.299, allocations: 83.91 kB / 2.44 GB, free: 50.51 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.0127/5.312, allocations: 3.696 MB / 2.443 GB, free: 46.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/5.312, allocations: 8.031 kB / 2.443 GB, free: 46.71 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00155/5.313, allocations: 324.7 kB / 2.444 GB, free: 46.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/5.324, allocations: 1.315 MB / 2.445 GB, free: 45.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008588/5.333, allocations: 3.32 MB / 2.448 GB, free: 41.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/5.333, allocations: 247.9 kB / 2.448 GB, free: 41.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006331/5.334, allocations: 243.9 kB / 2.449 GB, free: 41.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007797/5.342, allocations: 3.207 MB / 2.452 GB, free: 37.76 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/5.342, allocations: 7.938 kB / 2.452 GB, free: 37.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/5.342, allocations: 104 kB / 2.452 GB, free: 37.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.058e-05/5.342, allocations: 67.44 kB / 2.452 GB, free: 37.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/5.352, allocations: 2.874 MB / 2.455 GB, free: 34.7 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.02317/5.376, allocations: 13.53 MB / 2.468 GB, free: 20.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/5.38, allocations: 1.583 MB / 2.469 GB, free: 18.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/5.381, allocations: 1.779 MB / 2.471 GB, free: 16.81 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003656/5.385, allocations: 1.257 MB / 2.472 GB, free: 15.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.807e-06/5.385, allocations: 0 / 2.472 GB, free: 15.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.06325/5.448, allocations: 16.26 MB / 2.488 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004955/5.449, allocations: 0.9358 MB / 2.489 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005139/5.454, allocations: 2.427 MB / 2.492 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005684/5.455, allocations: 61.7 kB / 2.492 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/5.456, allocations: 1.351 MB / 2.493 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/5.457, allocations: 418.1 kB / 2.493 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/5.457, allocations: 35.94 kB / 2.493 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000183/5.457, allocations: 369.9 kB / 2.494 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/5.461, allocations: 0.972 MB / 2.495 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004719/5.466, allocations: 1.63 MB / 2.496 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/5.47, allocations: 1.109 MB / 2.497 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/5.47, allocations: 7.953 kB / 2.497 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01112/5.481, allocations: 3.119 MB / 2.5 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002512/5.484, allocations: 5.256 MB / 2.505 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/5.484, allocations: 12 kB / 2.505 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/5.488, allocations: 1.162 MB / 2.507 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/5.491, allocations: 451.2 kB / 2.507 GB, free: 10.76 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/5.496, allocations: 2.378 MB / 2.509 GB, free: 8.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006693/5.502, allocations: 439 kB / 2.51 GB, free: 7.902 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/5.503, allocations: 103.9 kB / 2.51 GB, free: 7.801 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/5.503, allocations: 4 kB / 2.51 GB, free: 7.797 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01047/5.514, allocations: 2.793 MB / 2.513 GB, free: 4.992 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/5.514, allocations: 12 kB / 2.513 GB, free: 4.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003841/5.517, allocations: 1.156 MB / 2.514 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/5.52, allocations: 435.2 kB / 2.514 GB, free: 3.418 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004458/5.525, allocations: 2.386 MB / 2.517 GB, free: 0.9805 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0055/5.53, allocations: 359.2 kB / 2.517 GB, free: 0.6289 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005822/5.531, allocations: 111.1 kB / 2.517 GB, free: 0.5234 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (148): * Single equations (assignments): 145 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.7196/6.25, allocations: 0.6924 MB / 2.518 GB, free: 131.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/6.252, allocations: 284.6 kB / 2.518 GB, free: 131.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/6.263, allocations: 2.417 MB / 2.52 GB, free: 131.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-05/6.263, allocations: 16.41 kB / 2.52 GB, free: 131.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/6.263, allocations: 8.922 kB / 2.52 GB, free: 131.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009619/6.273, allocations: 2.186 MB / 2.522 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/6.293, allocations: 7.133 MB / 2.529 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/6.293, allocations: 6.812 kB / 2.529 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/6.295, allocations: 273.7 kB / 2.53 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003846/6.299, allocations: 1.021 MB / 2.531 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/6.299, allocations: 52.12 kB / 2.531 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/6.303, allocations: 2.16 MB / 2.533 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/6.303, allocations: 6.25 kB / 2.533 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/6.318, allocations: 4.344 MB / 2.537 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002871/6.321, allocations: 0.6619 MB / 2.538 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009305/6.322, allocations: 35.72 kB / 2.538 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00408/6.326, allocations: 299.6 kB / 2.538 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/6.326, allocations: 111.6 kB / 2.538 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/6.326, allocations: 71.11 kB / 2.538 GB, free: 127.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004731/6.331, allocations: 1.901 MB / 2.54 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.71e-07/6.331, allocations: 1.031 kB / 2.54 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008376/6.34, allocations: 1.661 MB / 2.542 GB, free: 126.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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 (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01817/6.358, allocations: 7.755 MB / 2.549 GB, free: 123.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01289/6.371, allocations: 3.684 MB / 2.553 GB, free: 123.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-05/6.371, allocations: 8.281 kB / 2.553 GB, free: 123.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003823/6.375, allocations: 1.089 MB / 2.554 GB, free: 123.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008254/6.383, allocations: 1.505 MB / 2.555 GB, free: 123.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05627/6.439, allocations: 27.58 MB / 2.582 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/6.441, allocations: 1.768 MB / 2.584 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004741/6.446, allocations: 0.6511 MB / 2.585 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002381/6.448, allocations: 1.165 MB / 2.586 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.493e-06/6.448, allocations: 0 / 2.586 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1855/6.634, allocations: 106.6 MB / 2.69 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/6.634, allocations: 269.3 kB / 2.69 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/13.16, allocations: 0 / 2.69 GB, free: 100.9 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)