Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 182.5 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 94.7 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003996, allocations: 13.81 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2407, allocations: 106.3 MB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.05576/0.2965, allocations: 68.24 MB / 0.9676 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02289/0.3194, allocations: 14.56 MB / 0.9818 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.3229, allocations: 59.62 kB / 0.9818 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.3261, allocations: 0.7498 MB / 0.9826 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008607/0.3347, allocations: 2.315 MB / 0.9848 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006035/0.3408, allocations: 1.814 MB / 0.9866 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008622/0.3494, allocations: 5.807 MB / 0.9923 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.3524, allocations: 1.273 MB / 0.9935 GB, free: 112 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00394/0.3563, allocations: 1.45 MB / 0.9949 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.3587, allocations: 1.182 MB / 0.9961 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.359, allocations: 68 kB / 0.9961 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005115/0.3641, allocations: 1.82 MB / 0.9979 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004957/0.3646, allocations: 330.4 kB / 0.9982 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.3661, allocations: 0.8878 MB / 0.9991 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0068/0.3729, allocations: 3.416 MB / 1.002 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3729, allocations: 0 / 1.002 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/0.373, allocations: 0 / 1.002 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.402e-05/0.373, allocations: 0 / 1.002 GB, free: 6.93 MB / 0.6511 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.005686/0.3787, allocations: 1.983 MB / 1.004 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.147e-05/0.3788, allocations: 8.031 kB / 1.004 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005061/0.3793, allocations: 181.6 kB / 1.005 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006367/0.3857, allocations: 0.7363 MB / 1.005 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.389, allocations: 1.533 MB / 1.007 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.3892, allocations: 136 kB / 1.007 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.3894, allocations: 116 kB / 1.007 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/0.3935, allocations: 1.68 MB / 1.009 GB, free: 336 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.3936, allocations: 0 / 1.009 GB, free: 336 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.3937, allocations: 48 kB / 1.009 GB, free: 288 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.3938, allocations: 43.88 kB / 1.009 GB, free: 244 kB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004921/0.3987, allocations: 1.531 MB / 1.01 GB, free: 14.7 MB / 0.6667 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.01168/0.4104, allocations: 7.295 MB / 1.017 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.4131, allocations: 0.8409 MB / 1.018 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.4149, allocations: 0.5224 MB / 1.019 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.4164, allocations: 1.274 MB / 1.02 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.4165, allocations: 43.06 kB / 1.02 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 4.949e-06/0.4165, allocations: 0 / 1.02 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.02816/0.4447, allocations: 4.315 MB / 1.024 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.4448, allocations: 111.4 kB / 1.024 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.4473, allocations: 1.366 MB / 1.026 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.4474, allocations: 45.69 kB / 1.026 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/0.4481, allocations: 0.6764 MB / 1.026 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.4485, allocations: 248.4 kB / 1.027 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.4485, allocations: 16 kB / 1.027 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4487, allocations: 341.9 kB / 1.027 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/0.4507, allocations: 0.5211 MB / 1.027 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.4529, allocations: 0.8057 MB / 1.028 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003782/0.4567, allocations: 1.191 MB / 1.029 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.4567, allocations: 4 kB / 1.029 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005349/0.4621, allocations: 1.629 MB / 1.031 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.4623, allocations: 284.5 kB / 1.031 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.4624, allocations: 8 kB / 1.031 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.4644, allocations: 0.5454 MB / 1.032 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.4658, allocations: 251.6 kB / 1.032 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.4678, allocations: 1.173 MB / 1.033 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.4704, allocations: 286.6 kB / 1.033 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4705, allocations: 51.95 kB / 1.033 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4706, allocations: 4 kB / 1.033 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00472/0.4753, allocations: 1.476 MB / 1.035 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4753, allocations: 4 kB / 1.035 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.4771, allocations: 0.5498 MB / 1.035 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.4784, allocations: 251.6 kB / 1.036 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.4803, allocations: 1.17 MB / 1.037 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.4827, allocations: 254.8 kB / 1.037 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.4829, allocations: 59.94 kB / 1.037 GB, free: 1.988 MB / 0.6823 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009834/0.4839, allocations: 449.5 kB / 1.038 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/0.4843, allocations: 142.2 kB / 1.038 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/0.4894, allocations: 1.414 MB / 1.039 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.4894, allocations: 11.92 kB / 1.039 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4895, allocations: 0 / 1.039 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005478/0.495, allocations: 1.222 MB / 1.04 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.5061, allocations: 3.493 MB / 1.044 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.5061, allocations: 4 kB / 1.044 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.5078, allocations: 155.8 kB / 1.044 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/0.5111, allocations: 0.5276 MB / 1.044 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.5113, allocations: 31.91 kB / 1.044 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/0.5147, allocations: 1.17 MB / 1.046 GB, free: 9.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.5147, allocations: 4 kB / 1.046 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007952/0.5227, allocations: 1.481 MB / 1.047 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/0.5243, allocations: 390.9 kB / 1.047 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003979/0.5247, allocations: 23.94 kB / 1.047 GB, free: 7.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003311/0.528, allocations: 163.8 kB / 1.048 GB, free: 6.945 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.5282, allocations: 56.3 kB / 1.048 GB, free: 6.891 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/0.5284, allocations: 39.95 kB / 1.048 GB, free: 6.852 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002938/0.5314, allocations: 0.9613 MB / 1.049 GB, free: 5.891 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.495e-06/0.5314, allocations: 0 / 1.049 GB, free: 5.891 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004814/0.5362, allocations: 0.9357 MB / 1.05 GB, free: 4.953 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01083/0.5471, allocations: 2.508 MB / 1.052 GB, free: 2.371 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01269/0.5598, allocations: 1.914 MB / 1.054 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.5599, allocations: 0 / 1.054 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.4421/1.002, allocations: 0.5577 MB / 1.054 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005802/1.008, allocations: 0.8122 MB / 1.055 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03428/1.042, allocations: 13.46 MB / 1.068 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.043, allocations: 1.206 MB / 1.069 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00225/1.046, allocations: 328.8 kB / 1.07 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.047, allocations: 0.5685 MB / 1.07 GB, free: 141 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/1.047, allocations: 0 / 1.07 GB, free: 141 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0859/1.132, allocations: 51.13 MB / 1.12 GB, free: 103 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/1.133, allocations: 289.6 kB / 1.121 GB, free: 102.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.608/5.741, allocations: 0 / 1.121 GB, free: 102.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)