Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.885/2.885, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001639/0.001639, allocations: 181.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001254/0.001253, allocations: 88.89 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005492/0.0005492, allocations: 11.41 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2431, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.45/1.693, allocations: 422.4 MB / 1.391 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005008/1.694, allocations: 95.55 kB / 1.391 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.302/4.995, allocations: 0.5491 GB / 1.94 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.576e-06/4.995, allocations: 0 / 1.94 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000242/4.996, allocations: 44.8 kB / 1.94 GB, free: 184.6 MB / 0.9323 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.00817/5.004, allocations: 2.102 MB / 1.942 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/5.004, allocations: 13.84 kB / 1.942 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007701/5.005, allocations: 186 kB / 1.942 GB, free: 183 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009437/5.014, allocations: 0.6734 MB / 1.943 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005663/5.02, allocations: 1.773 MB / 1.945 GB, free: 181.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/5.02, allocations: 134.6 kB / 1.945 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/5.02, allocations: 122.9 kB / 1.945 GB, free: 181.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007097/5.028, allocations: 1.652 MB / 1.947 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/5.028, allocations: 2.344 kB / 1.947 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/5.028, allocations: 52.17 kB / 1.947 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.595e-05/5.028, allocations: 42.75 kB / 1.947 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009234/5.037, allocations: 1.485 MB / 1.948 GB, free: 179.5 MB / 0.9323 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.01671/5.054, allocations: 7.089 MB / 1.955 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/5.058, allocations: 0.7787 MB / 1.956 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/5.06, allocations: 1.267 MB / 1.957 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/5.06, allocations: 38.31 kB / 1.957 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=66): time 5.941e-06/5.06, allocations: 6.594 kB / 1.957 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=66): time 0.04752/5.108, allocations: 3.75 MB / 1.961 GB, free: 170 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/5.108, allocations: 110.3 kB / 1.961 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/5.111, allocations: 1.261 MB / 1.962 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003262/5.111, allocations: 44.77 kB / 1.962 GB, free: 169.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000772/5.112, allocations: 0.7024 MB / 1.963 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/5.113, allocations: 229.2 kB / 1.963 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/5.113, allocations: 19.91 kB / 1.963 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/5.113, allocations: 333 kB / 1.963 GB, free: 168 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/5.117, allocations: 0.4952 MB / 1.964 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003972/5.121, allocations: 0.7817 MB / 1.965 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/5.124, allocations: 0.5467 MB / 1.965 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/5.124, allocations: 3.844 kB / 1.965 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.009597/5.134, allocations: 1.564 MB / 1.967 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005984/5.135, allocations: 2.5 MB / 1.969 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/5.135, allocations: 4 kB / 1.969 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003234/5.138, allocations: 0.5615 MB / 1.97 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/5.141, allocations: 237.7 kB / 1.97 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/5.144, allocations: 1.174 MB / 1.971 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004927/5.149, allocations: 283.3 kB / 1.971 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/5.149, allocations: 55.83 kB / 1.971 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/5.149, allocations: 4 kB / 1.971 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008961/5.158, allocations: 1.406 MB / 1.973 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/5.158, allocations: 4 kB / 1.973 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003016/5.161, allocations: 0.5732 MB / 1.973 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/5.164, allocations: 239.6 kB / 1.974 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/5.167, allocations: 1.17 MB / 1.975 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/5.171, allocations: 242.8 kB / 1.975 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/5.172, allocations: 51.95 kB / 1.975 GB, free: 157.2 MB / 0.9323 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 () * Number of clocked 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001284/5.173, allocations: 448.8 kB / 1.975 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005492/5.174, allocations: 142.3 kB / 1.976 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007849/5.181, allocations: 1.313 MB / 1.977 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/5.182, allocations: 19.94 kB / 1.977 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/5.182, allocations: 0 / 1.977 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007075/5.189, allocations: 1.185 MB / 1.978 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/5.202, allocations: 3.449 MB / 1.981 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/5.202, allocations: 4 kB / 1.981 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/5.204, allocations: 155.9 kB / 1.982 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/5.207, allocations: 0.5443 MB / 1.982 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/5.207, allocations: 27.97 kB / 1.982 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/5.21, allocations: 1.166 MB / 1.983 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/5.21, allocations: 4 kB / 1.983 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007959/5.218, allocations: 1.65 MB / 1.985 GB, free: 146.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/5.22, allocations: 390.6 kB / 1.985 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/5.22, allocations: 20 kB / 1.985 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003365/5.224, allocations: 139.8 kB / 1.985 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/5.224, allocations: 60.25 kB / 1.985 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/5.224, allocations: 43.95 kB / 1.985 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002632/5.227, allocations: 0.9966 MB / 1.986 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.61e-07/5.227, allocations: 0 / 1.986 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004714/5.231, allocations: 0.9824 MB / 1.987 GB, free: 144.1 MB / 0.9323 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) * Number of clocked states: 0 () * 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.01088/5.242, allocations: 3.902 MB / 1.991 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01194/5.254, allocations: 1.829 MB / 1.993 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/5.254, allocations: 8.062 kB / 1.993 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003577/5.258, allocations: 0.5335 MB / 1.994 GB, free: 137.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006821/5.265, allocations: 0.7913 MB / 1.994 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03801/5.303, allocations: 13.48 MB / 2.007 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/5.304, allocations: 1.237 MB / 2.009 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002957/5.307, allocations: 342.7 kB / 2.009 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/5.308, allocations: 0.5539 MB / 2.01 GB, free: 121 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/5.308, allocations: 0 / 2.01 GB, free: 121 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/5.444, allocations: 55.48 MB / 2.064 GB, free: 66.64 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/5.445, allocations: 253.6 kB / 2.064 GB, free: 66.29 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.926/10.37, allocations: 8 kB / 2.064 GB, free: 66.28 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)