Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",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.779/1.779, allocations: 285.4 MB / 298 MB, free: 5.996 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.001296/0.001296, allocations: 180.8 kB / 366.4 MB, free: 2.105 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.901/1.901, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0009383/0.0009381, allocations: 95.53 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.744e-05, allocations: 4 kB / 0.8584 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.8826, allocations: 115.3 MB / 0.971 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/2.135, allocations: 422.5 MB / 1.384 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/2.136, allocations: 94.2 kB / 1.384 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.853/3.989, allocations: 0.5474 GB / 1.931 GB, free: 63.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.372e-06/3.989, allocations: 0 / 1.931 GB, free: 63.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001448/3.989, allocations: 43.98 kB / 1.931 GB, free: 63.79 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004092/3.993, allocations: 1.852 MB / 1.933 GB, free: 61.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/3.993, allocations: 8.031 kB / 1.933 GB, free: 61.87 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002454/3.994, allocations: 181.4 kB / 1.933 GB, free: 61.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/3.998, allocations: 0.6614 MB / 1.934 GB, free: 61.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/4.002, allocations: 1.766 MB / 1.936 GB, free: 59.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/4.002, allocations: 132 kB / 1.936 GB, free: 59.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/4.002, allocations: 116 kB / 1.936 GB, free: 58.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/4.005, allocations: 1.453 MB / 1.937 GB, free: 57.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/4.005, allocations: 7.938 kB / 1.937 GB, free: 57.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/4.005, allocations: 52 kB / 1.937 GB, free: 57.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/4.005, allocations: 32 kB / 1.937 GB, free: 57.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/4.007, allocations: 1.106 MB / 1.938 GB, free: 56.18 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.01005/4.017, allocations: 7.098 MB / 1.945 GB, free: 48.76 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/4.018, allocations: 0.6129 MB / 1.946 GB, free: 48.13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/4.018, allocations: 347.5 kB / 1.946 GB, free: 47.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/4.019, allocations: 1.267 MB / 1.947 GB, free: 46.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/4.02, allocations: 47.06 kB / 1.947 GB, free: 46.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 2.816e-06/4.02, allocations: 0 / 1.947 GB, free: 46.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.001978/4.022, allocations: 0.873 MB / 1.948 GB, free: 45.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/4.022, allocations: 115.4 kB / 1.948 GB, free: 45.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/4.025, allocations: 1.226 MB / 1.95 GB, free: 43.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002867/4.025, allocations: 45.7 kB / 1.95 GB, free: 43.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009842/4.026, allocations: 0.6957 MB / 1.95 GB, free: 43.18 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/4.027, allocations: 228.7 kB / 1.951 GB, free: 42.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/4.027, allocations: 16 kB / 1.951 GB, free: 42.94 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001508/4.027, allocations: 337.9 kB / 1.951 GB, free: 42.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/4.028, allocations: 317.9 kB / 1.951 GB, free: 42.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009062/4.029, allocations: 0.6004 MB / 1.952 GB, free: 41.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/4.029, allocations: 381.2 kB / 1.952 GB, free: 41.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/4.029, allocations: 0 / 1.952 GB, free: 41.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002569/4.032, allocations: 1.162 MB / 1.953 GB, free: 40.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005992/4.033, allocations: 2.499 MB / 1.956 GB, free: 37.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/4.033, allocations: 4 kB / 1.956 GB, free: 37.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/4.034, allocations: 0.5199 MB / 1.956 GB, free: 36.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/4.036, allocations: 239.6 kB / 1.957 GB, free: 36.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/4.037, allocations: 1.088 MB / 1.958 GB, free: 35.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/4.04, allocations: 282.6 kB / 1.958 GB, free: 35.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/4.04, allocations: 47.95 kB / 1.958 GB, free: 35.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/4.04, allocations: 6.5 kB / 1.958 GB, free: 35.18 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001759/4.042, allocations: 1.014 MB / 1.959 GB, free: 34.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/4.042, allocations: 8.094 kB / 1.959 GB, free: 34.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/4.043, allocations: 0.5164 MB / 1.959 GB, free: 33.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/4.044, allocations: 243.6 kB / 1.96 GB, free: 33.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/4.046, allocations: 1.08 MB / 1.961 GB, free: 32.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/4.048, allocations: 242.8 kB / 1.961 GB, free: 32.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/4.048, allocations: 59.92 kB / 1.961 GB, free: 31.99 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003453/4.049, allocations: 164.8 kB / 1.961 GB, free: 31.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/4.049, allocations: 138.3 kB / 1.961 GB, free: 31.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/4.053, allocations: 1.076 MB / 1.962 GB, free: 30.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/4.053, allocations: 8 kB / 1.962 GB, free: 30.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/4.053, allocations: 0 / 1.962 GB, free: 30.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002862/4.056, allocations: 0.9359 MB / 1.963 GB, free: 29.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/4.062, allocations: 3.132 MB / 1.966 GB, free: 26.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/4.062, allocations: 4 kB / 1.966 GB, free: 26.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/4.063, allocations: 148.2 kB / 1.966 GB, free: 26.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/4.064, allocations: 488.8 kB / 1.967 GB, free: 25.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/4.064, allocations: 23.97 kB / 1.967 GB, free: 25.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/4.065, allocations: 1.076 MB / 1.968 GB, free: 24.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/4.065, allocations: 4 kB / 1.968 GB, free: 24.53 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/4.068, allocations: 1.315 MB / 1.969 GB, free: 23.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/4.069, allocations: 390.9 kB / 1.97 GB, free: 22.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006697/4.07, allocations: 20 kB / 1.97 GB, free: 22.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/4.072, allocations: 143.8 kB / 1.97 GB, free: 22.48 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/4.072, allocations: 60.25 kB / 1.97 GB, free: 22.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/4.072, allocations: 43.95 kB / 1.97 GB, free: 22.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002102/4.074, allocations: 0.9484 MB / 1.971 GB, free: 21.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/4.074, allocations: 0 / 1.971 GB, free: 21.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004485/4.079, allocations: 0.9825 MB / 1.972 GB, free: 20.45 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004494/4.083, allocations: 3.579 MB / 1.975 GB, free: 16.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002763/4.086, allocations: 1.379 MB / 1.977 GB, free: 15.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/4.086, allocations: 4 kB / 1.977 GB, free: 15.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007177/4.087, allocations: 394.9 kB / 1.977 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004238/4.091, allocations: 0.7945 MB / 1.978 GB, free: 14.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007665/4.099, allocations: 2.279 MB / 1.98 GB, free: 11.81 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/4.1, allocations: 1.241 MB / 1.981 GB, free: 10.53 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002646/4.102, allocations: 423.7 kB / 1.982 GB, free: 10.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000754/4.103, allocations: 0.5344 MB / 1.982 GB, free: 9.578 MB / 0.948 GB Notification: Performance of SimCode: time 2.124e-06/4.103, allocations: 4 kB / 1.982 GB, free: 9.574 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6496/4.753, allocations: 57.83 MB / 2.039 GB, free: 168.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/4.753, allocations: 235.1 kB / 2.039 GB, free: 168.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.864/8.617, allocations: 9.219 kB / 2.039 GB, free: 168.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)