Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.472/2.472, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001497/0.001497, allocations: 180.8 kB / 360.6 MB, free: 7.285 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.113/2.113, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001123/0.001122, allocations: 87.22 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.562e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8794/0.8794, allocations: 115.2 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/2.166, allocations: 421.3 MB / 1.375 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/2.166, allocations: 91.05 kB / 1.375 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.518/4.685, allocations: 0.5446 GB / 1.92 GB, free: 48.66 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.315e-06/4.685, allocations: 0 / 1.92 GB, free: 48.66 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001761/4.685, allocations: 47.88 kB / 1.92 GB, free: 48.62 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.00507/4.69, allocations: 1.837 MB / 1.921 GB, free: 46.72 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/4.69, allocations: 12.03 kB / 1.921 GB, free: 46.71 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007736/4.698, allocations: 0.6106 MB / 1.922 GB, free: 46.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005076/4.703, allocations: 1.754 MB / 1.924 GB, free: 44.28 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/4.703, allocations: 84 kB / 1.924 GB, free: 44.19 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/4.703, allocations: 79.95 kB / 1.924 GB, free: 44.11 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002913/4.706, allocations: 1.004 MB / 1.925 GB, free: 43.11 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/4.709, allocations: 1.264 MB / 1.926 GB, free: 41.74 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/4.709, allocations: 3.984 kB / 1.926 GB, free: 41.74 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/4.71, allocations: 4 kB / 1.926 GB, free: 41.73 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-05/4.71, allocations: 40 kB / 1.926 GB, free: 41.7 MB / 0.9323 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.01456/4.724, allocations: 6.711 MB / 1.933 GB, free: 34.68 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/4.726, allocations: 0.5475 MB / 1.933 GB, free: 34.12 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006871/4.727, allocations: 306.5 kB / 1.934 GB, free: 33.82 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/4.728, allocations: 1.267 MB / 1.935 GB, free: 32.27 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/4.728, allocations: 51.86 kB / 1.935 GB, free: 32.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=64): time 3.467e-06/4.728, allocations: 0 / 1.935 GB, free: 32.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64): time 0.004267/4.733, allocations: 0.8816 MB / 1.936 GB, free: 31.32 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/4.733, allocations: 107.4 kB / 1.936 GB, free: 31.19 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/4.735, allocations: 0.9666 MB / 1.937 GB, free: 30.21 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000213/4.735, allocations: 29.7 kB / 1.937 GB, free: 30.18 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/4.735, allocations: 0.7135 MB / 1.937 GB, free: 29.46 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/4.736, allocations: 220.8 kB / 1.938 GB, free: 29.24 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/4.736, allocations: 0 / 1.938 GB, free: 29.24 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/4.736, allocations: 337.9 kB / 1.938 GB, free: 28.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/4.737, allocations: 286.6 kB / 1.938 GB, free: 28.62 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009351/4.738, allocations: 0.569 MB / 1.939 GB, free: 27.92 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/4.741, allocations: 465.7 kB / 1.939 GB, free: 27.47 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/4.741, allocations: 4 kB / 1.939 GB, free: 27.47 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005059/4.746, allocations: 1.147 MB / 1.94 GB, free: 26.31 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004816/4.746, allocations: 2.458 MB / 1.943 GB, free: 23.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/4.746, allocations: 8 kB / 1.943 GB, free: 23.67 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/4.748, allocations: 357.4 kB / 1.943 GB, free: 23.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/4.75, allocations: 247.6 kB / 1.943 GB, free: 23.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/4.753, allocations: 1.076 MB / 1.944 GB, free: 21.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/4.757, allocations: 214.9 kB / 1.945 GB, free: 21.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/4.757, allocations: 56 kB / 1.945 GB, free: 21.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/4.757, allocations: 4 kB / 1.945 GB, free: 21.71 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004684/4.762, allocations: 0.994 MB / 1.946 GB, free: 20.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/4.762, allocations: 8 kB / 1.946 GB, free: 20.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/4.763, allocations: 360.8 kB / 1.946 GB, free: 20.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/4.766, allocations: 251.6 kB / 1.946 GB, free: 20.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/4.768, allocations: 1.069 MB / 1.947 GB, free: 19 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00356/4.771, allocations: 175.2 kB / 1.947 GB, free: 18.83 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/4.772, allocations: 56.12 kB / 1.947 GB, free: 18.78 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 () * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003698/4.772, allocations: 140.6 kB / 1.948 GB, free: 18.63 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006238/4.778, allocations: 0.8654 MB / 1.948 GB, free: 17.76 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006862/4.779, allocations: 130.5 kB / 1.949 GB, free: 17.63 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006599/4.786, allocations: 0.9726 MB / 1.95 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/4.786, allocations: 8 kB / 1.95 GB, free: 16.63 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/4.786, allocations: 0 / 1.95 GB, free: 16.63 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005753/4.791, allocations: 0.8812 MB / 1.95 GB, free: 15.72 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/4.803, allocations: 2.912 MB / 1.953 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/4.803, allocations: 4 kB / 1.953 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/4.805, allocations: 155.8 kB / 1.953 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/4.806, allocations: 348.7 kB / 1.954 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/4.807, allocations: 15.97 kB / 1.954 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/4.81, allocations: 1.139 MB / 1.955 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/4.81, allocations: 7.938 kB / 1.955 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/4.814, allocations: 1.284 MB / 1.956 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/4.816, allocations: 367.2 kB / 1.956 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003835/4.816, allocations: 4 kB / 1.956 GB, free: 9.141 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/4.819, allocations: 127.8 kB / 1.957 GB, free: 9.016 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/4.82, allocations: 56.27 kB / 1.957 GB, free: 8.961 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/4.82, allocations: 39.95 kB / 1.957 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001599/4.822, allocations: 0.7368 MB / 1.957 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.71e-07/4.822, allocations: 0 / 1.957 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004826/4.826, allocations: 0.9702 MB / 1.958 GB, free: 7.207 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) * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.007365/4.834, allocations: 3.555 MB / 1.962 GB, free: 3.52 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003756/4.838, allocations: 1.235 MB / 1.963 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/4.838, allocations: 4.375 kB / 1.963 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/4.84, allocations: 449 kB / 1.963 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/4.845, allocations: 0.5818 MB / 1.964 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6858/5.531, allocations: 2.063 MB / 1.966 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/5.532, allocations: 1.238 MB / 1.967 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005115/5.537, allocations: 364.7 kB / 1.968 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/5.539, allocations: 0.5201 MB / 1.968 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.833e-06/5.539, allocations: 0 / 1.968 GB, free: 160.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.191/5.73, allocations: 45.16 MB / 2.012 GB, free: 159.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/5.73, allocations: 192.2 kB / 2.012 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.625/10.35, allocations: 0 / 2.012 GB, free: 159.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)