Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007572/0.007573, allocations: 172.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 11.59 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3276, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.0678/0.3955, allocations: 68.25 MB / 1.141 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02051/0.416, allocations: 14.49 MB / 1.155 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.4184, allocations: 67.56 kB / 1.155 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.421, allocations: 0.7498 MB / 1.156 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006993/0.428, allocations: 2.368 MB / 1.158 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004892/0.4329, allocations: 1.775 MB / 1.16 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007612/0.4405, allocations: 5.854 MB / 1.165 GB, free: 9.715 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.4429, allocations: 1.289 MB / 1.167 GB, free: 8.395 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004609/0.4475, allocations: 1.427 MB / 1.168 GB, free: 6.961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.4498, allocations: 1.186 MB / 1.169 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.45, allocations: 68 kB / 1.169 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004425/0.4544, allocations: 1.735 MB / 1.171 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004221/0.4549, allocations: 330.5 kB / 1.171 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.4561, allocations: 0.8956 MB / 1.172 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004866/0.461, allocations: 3.33 MB / 1.175 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.461, allocations: 4 kB / 1.175 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.577e-06/0.461, allocations: 3.984 kB / 1.176 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.311e-05/0.4611, allocations: 0 / 1.176 GB, free: 15.39 MB / 0.9356 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.003713/0.4648, allocations: 1.94 MB / 1.177 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4648, allocations: 11.97 kB / 1.177 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.47, allocations: 0.6895 MB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.4727, allocations: 1.557 MB / 1.18 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.4729, allocations: 124 kB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.4731, allocations: 123.9 kB / 1.18 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003943/0.4771, allocations: 1.647 MB / 1.181 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.4771, allocations: 0 / 1.181 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.4772, allocations: 55.98 kB / 1.181 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.4773, allocations: 35.94 kB / 1.182 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004648/0.4819, allocations: 1.484 MB / 1.183 GB, free: 7.488 MB / 0.9356 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.01017/0.4921, allocations: 7.195 MB / 1.19 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.4945, allocations: 0.8186 MB / 1.191 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.4962, allocations: 0.4949 MB / 1.191 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/0.4975, allocations: 1.267 MB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.4976, allocations: 47.12 kB / 1.193 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 3.447e-06/0.4976, allocations: 0 / 1.193 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.01058/0.5082, allocations: 2.256 MB / 1.195 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.5083, allocations: 111.4 kB / 1.195 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.5105, allocations: 1.371 MB / 1.196 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.5107, allocations: 45.64 kB / 1.196 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/0.5113, allocations: 0.6842 MB / 1.197 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.5116, allocations: 236.6 kB / 1.197 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.5117, allocations: 77.67 kB / 1.197 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5119, allocations: 345.9 kB / 1.198 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.5138, allocations: 497.6 kB / 1.198 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.516, allocations: 0.7745 MB / 1.199 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/0.5196, allocations: 1.152 MB / 1.2 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5197, allocations: 0 / 1.2 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005143/0.5248, allocations: 1.554 MB / 1.201 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.525, allocations: 288.6 kB / 1.202 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.5251, allocations: 4 kB / 1.202 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.5269, allocations: 453.5 kB / 1.202 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.5283, allocations: 259.5 kB / 1.202 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.5299, allocations: 1.075 MB / 1.203 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.5323, allocations: 274.6 kB / 1.204 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.5324, allocations: 55.95 kB / 1.204 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.5325, allocations: 4 kB / 1.204 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004727/0.5372, allocations: 1.39 MB / 1.205 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5372, allocations: 8.562 kB / 1.205 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.5388, allocations: 471.7 kB / 1.206 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.5404, allocations: 259.6 kB / 1.206 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.5419, allocations: 1.076 MB / 1.207 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.5443, allocations: 246.8 kB / 1.207 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.5444, allocations: 56.19 kB / 1.207 GB, free: 13.58 MB / 0.9669 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 (heaPum.com.isOn,$PRE.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,23)} Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.5456, allocations: 452.8 kB / 1.208 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/0.5461, allocations: 146.2 kB / 1.208 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00583/0.5519, allocations: 1.319 MB / 1.209 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.552, allocations: 7.938 kB / 1.209 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.552, allocations: 7.938 kB / 1.209 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004902/0.5569, allocations: 1.139 MB / 1.21 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.5681, allocations: 3.426 MB / 1.214 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.5681, allocations: 4.188 kB / 1.214 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009699/0.5691, allocations: 155.8 kB / 1.214 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.5708, allocations: 444.8 kB / 1.214 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/0.5709, allocations: 31.97 kB / 1.214 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.5732, allocations: 1.071 MB / 1.215 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.5732, allocations: 8.031 kB / 1.215 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006051/0.5792, allocations: 1.405 MB / 1.217 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.5805, allocations: 390.9 kB / 1.217 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/0.5808, allocations: 27.98 kB / 1.217 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/0.5835, allocations: 160.5 kB / 1.217 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.5837, allocations: 56.42 kB / 1.217 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/0.5839, allocations: 47.95 kB / 1.217 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002591/0.5865, allocations: 0.9615 MB / 1.218 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5865, allocations: 0 / 1.218 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003981/0.5905, allocations: 0.885 MB / 1.219 GB, free: 1.094 MB / 0.9669 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001634/0.5922, allocations: 0.5374 MB / 1.22 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00728/0.5995, allocations: 1.849 MB / 1.221 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.196e-05/0.5995, allocations: 7.938 kB / 1.221 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.6015, allocations: 0.5413 MB / 1.222 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/0.6066, allocations: 0.8048 MB / 1.223 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/0.6128, allocations: 3.128 MB / 1.226 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/0.6137, allocations: 1.204 MB / 1.227 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0019/0.6156, allocations: 344 kB / 1.227 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.6159, allocations: 127.3 kB / 1.227 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of SimCode: time 1.233e-06/0.6159, allocations: 0 / 1.227 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of Templates: time 0.6012/1.217, allocations: 37.63 MB / 1.264 GB, free: 163.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)