Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001312/0.001312, allocations: 183.4 kB / 371.6 MB, free: 3.355 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.829/1.829, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009933/0.0009933, allocations: 87.42 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.922e-05/4.926e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3754, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.863/2.238, allocations: 423.5 MB / 1.393 GB, free: 295.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/2.238, allocations: 93.52 kB / 1.394 GB, free: 295.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.765/4.003, allocations: 0.5474 GB / 1.941 GB, free: 164.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.353e-06/4.003, allocations: 0 / 1.941 GB, free: 164.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000187/4.003, allocations: 49.38 kB / 1.941 GB, free: 164.9 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.004471/4.008, allocations: 1.841 MB / 1.943 GB, free: 163.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/4.008, allocations: 11.69 kB / 1.943 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002201/4.008, allocations: 180.7 kB / 1.943 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004702/4.013, allocations: 0.666 MB / 1.944 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/4.017, allocations: 1.767 MB / 1.945 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/4.017, allocations: 132.6 kB / 1.945 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/4.017, allocations: 118 kB / 1.946 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/4.019, allocations: 1.449 MB / 1.947 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/4.02, allocations: 0 / 1.947 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/4.02, allocations: 54.28 kB / 1.947 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/4.02, allocations: 43.17 kB / 1.947 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/4.022, allocations: 1.112 MB / 1.948 GB, free: 160.2 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.01106/4.033, allocations: 7.088 MB / 1.955 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/4.034, allocations: 0.6168 MB / 1.956 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/4.034, allocations: 342.2 kB / 1.956 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/4.036, allocations: 1.271 MB / 1.957 GB, free: 152.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/4.036, allocations: 42.81 kB / 1.957 GB, free: 152.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=66): time 4.218e-06/4.036, allocations: 3.938 kB / 1.957 GB, free: 152.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=66): time 0.00276/4.039, allocations: 0.8772 MB / 1.958 GB, free: 151.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/4.039, allocations: 114.8 kB / 1.958 GB, free: 151.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/4.041, allocations: 1.221 MB / 1.959 GB, free: 151.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/4.041, allocations: 44.8 kB / 1.96 GB, free: 151 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000705/4.042, allocations: 0.6941 MB / 1.96 GB, free: 150.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/4.042, allocations: 235.9 kB / 1.96 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/4.042, allocations: 12 kB / 1.96 GB, free: 150.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001309/4.043, allocations: 341.5 kB / 1.961 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/4.043, allocations: 317.6 kB / 1.961 GB, free: 149.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/4.044, allocations: 0.6051 MB / 1.962 GB, free: 149.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/4.045, allocations: 367.6 kB / 1.962 GB, free: 149 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/4.045, allocations: 0 / 1.962 GB, free: 149 MB / 0.948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002314/4.047, allocations: 1.166 MB / 1.963 GB, free: 148.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005535/4.047, allocations: 2.499 MB / 1.966 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/4.047, allocations: 3.312 kB / 1.966 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/4.049, allocations: 0.5135 MB / 1.966 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/4.05, allocations: 249.8 kB / 1.966 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/4.052, allocations: 1.077 MB / 1.967 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/4.054, allocations: 282.3 kB / 1.968 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/4.054, allocations: 52.94 kB / 1.968 GB, free: 144.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/4.054, allocations: 7.031 kB / 1.968 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001643/4.056, allocations: 1.009 MB / 1.969 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/4.056, allocations: 11.17 kB / 1.969 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/4.057, allocations: 0.5195 MB / 1.969 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/4.059, allocations: 238.5 kB / 1.969 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/4.06, allocations: 1.085 MB / 1.971 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/4.062, allocations: 244.4 kB / 1.971 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/4.062, allocations: 54.67 kB / 1.971 GB, free: 142.9 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.0002973/4.062, allocations: 170.5 kB / 1.971 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/4.063, allocations: 147 kB / 1.971 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/4.066, allocations: 1.072 MB / 1.972 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/4.066, allocations: 11.27 kB / 1.972 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/4.066, allocations: 0 / 1.972 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00278/4.069, allocations: 0.9425 MB / 1.973 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005173/4.074, allocations: 3.105 MB / 1.976 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/4.074, allocations: 6.938 kB / 1.976 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/4.075, allocations: 151.5 kB / 1.976 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/4.077, allocations: 498.4 kB / 1.977 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/4.077, allocations: 23.81 kB / 1.977 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/4.078, allocations: 1.08 MB / 1.978 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/4.078, allocations: 3.875 kB / 1.978 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/4.079, allocations: 1.314 MB / 1.979 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008073/4.08, allocations: 400 kB / 1.979 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/4.08, allocations: 18.38 kB / 1.979 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/4.082, allocations: 143.4 kB / 1.98 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/4.082, allocations: 58.47 kB / 1.98 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-05/4.082, allocations: 48.17 kB / 1.98 GB, free: 136.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001367/4.084, allocations: 0.9477 MB / 1.981 GB, free: 136.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/4.084, allocations: 0 / 1.981 GB, free: 136.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002899/4.087, allocations: 0.9868 MB / 1.982 GB, free: 135.8 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.003687/4.09, allocations: 3.567 MB / 1.985 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002632/4.093, allocations: 1.372 MB / 1.986 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/4.093, allocations: 3.812 kB / 1.986 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006977/4.094, allocations: 402.3 kB / 1.987 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/4.098, allocations: 0.792 MB / 1.988 GB, free: 132 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/4.104, allocations: 2.277 MB / 1.99 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/4.104, allocations: 1.245 MB / 1.991 GB, free: 128.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002101/4.106, allocations: 439 kB / 1.991 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/4.107, allocations: 0.5266 MB / 1.992 GB, free: 127.4 MB / 0.948 GB Notification: Performance of SimCode: time 6.62e-07/4.107, allocations: 0 / 1.992 GB, free: 127.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08578/4.193, allocations: 57.82 MB / 2.048 GB, free: 70.31 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/4.193, allocations: 224.6 kB / 2.049 GB, free: 70.06 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.076/8.269, allocations: 0 / 2.049 GB, free: 70.06 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)