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: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.751/1.751, allocations: 287.4 MB / 303.2 MB, free: 8.242 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.00106/0.00106, allocations: 166.2 kB / 371.8 MB, free: 10.82 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.43/1.43, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0008429/0.0008429, allocations: 93.17 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005232, allocations: 11.44 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2327, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.0753/0.308, allocations: 64.47 MB / 1.042 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01918/0.3273, allocations: 13.44 MB / 1.055 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.3302, allocations: 63.56 kB / 1.055 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.3331, allocations: 0.6405 MB / 1.056 GB, free: 13.37 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006697/0.3398, allocations: 2.007 MB / 1.058 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005259/0.3451, allocations: 1.413 MB / 1.059 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006947/0.3521, allocations: 5.071 MB / 1.064 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.3552, allocations: 1.266 MB / 1.066 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.3586, allocations: 1.369 MB / 1.067 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.3609, allocations: 1.112 MB / 1.068 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005308/0.3615, allocations: 67.94 kB / 1.068 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3667/0.7282, allocations: 1.425 MB / 1.069 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006859/0.729, allocations: 316.4 kB / 1.07 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000765/0.7297, allocations: 396.3 kB / 1.07 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004002/0.7337, allocations: 2.566 MB / 1.073 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7338, allocations: 1.578 kB / 1.073 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7338, allocations: 0 / 1.073 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.957e-05/0.7338, allocations: 0 / 1.073 GB, free: 29.98 MB / 0.6823 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.003987/0.7378, allocations: 1.944 MB / 1.075 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.7379, allocations: 13.3 kB / 1.075 GB, free: 28.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005104/0.743, allocations: 0.6871 MB / 1.075 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.7461, allocations: 1.543 MB / 1.077 GB, free: 28.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.7463, allocations: 126.1 kB / 1.077 GB, free: 28.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.7465, allocations: 119 kB / 1.077 GB, free: 28.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004219/0.7507, allocations: 1.637 MB / 1.079 GB, free: 28.13 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.7508, allocations: 1.812 kB / 1.079 GB, free: 28.13 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.751, allocations: 52.67 kB / 1.079 GB, free: 28.13 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/0.751, allocations: 35.48 kB / 1.079 GB, free: 28.13 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005042/0.7561, allocations: 1.464 MB / 1.08 GB, free: 28.09 MB / 0.6823 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.01027/0.7664, allocations: 7.212 MB / 1.087 GB, free: 24.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.7687, allocations: 0.8187 MB / 1.088 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.7703, allocations: 0.4913 MB / 1.088 GB, free: 24.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.7713, allocations: 1.271 MB / 1.09 GB, free: 23.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.7714, allocations: 44 kB / 1.09 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 4.579e-06/0.7714, allocations: 4 kB / 1.09 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.009793/0.7812, allocations: 2.244 MB / 1.092 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.7813, allocations: 110.8 kB / 1.092 GB, free: 22.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.7836, allocations: 1.348 MB / 1.093 GB, free: 22.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.7837, allocations: 44.31 kB / 1.093 GB, free: 22.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/0.7843, allocations: 0.6865 MB / 1.094 GB, free: 22.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.7845, allocations: 237.1 kB / 1.094 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.7846, allocations: 15.44 kB / 1.094 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.7847, allocations: 343.7 kB / 1.095 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.7865, allocations: 0.4897 MB / 1.095 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.7886, allocations: 0.7715 MB / 1.096 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/0.7925, allocations: 1.13 MB / 1.097 GB, free: 21.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.7925, allocations: 2.469 kB / 1.097 GB, free: 21.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005046/0.7976, allocations: 1.551 MB / 1.098 GB, free: 21.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.7977, allocations: 276.9 kB / 1.099 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.7978, allocations: 7.109 kB / 1.099 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.7994, allocations: 466.2 kB / 1.099 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.8007, allocations: 257.6 kB / 1.099 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.8021, allocations: 1.075 MB / 1.1 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.8047, allocations: 276.5 kB / 1.101 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.8049, allocations: 52.55 kB / 1.101 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.8049, allocations: 8.891 kB / 1.101 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004227/0.8091, allocations: 1.392 MB / 1.102 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.8091, allocations: 11.94 kB / 1.102 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.8106, allocations: 457.8 kB / 1.103 GB, free: 20.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.8119, allocations: 266.6 kB / 1.103 GB, free: 20.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.8132, allocations: 1.07 MB / 1.104 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.8156, allocations: 246.5 kB / 1.104 GB, free: 19.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.8158, allocations: 50.22 kB / 1.104 GB, free: 19.44 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 (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 23} Notification: Performance of prepare postOptimizeDAE: time 0.0009666/0.8167, allocations: 451.2 kB / 1.105 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.8171, allocations: 141.5 kB / 1.105 GB, free: 19.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/0.8211, allocations: 1.32 MB / 1.106 GB, free: 19.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003277/0.8244, allocations: 1.136 MB / 1.107 GB, free: 18.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8244, allocations: 6.078 kB / 1.107 GB, free: 18.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009537/0.8254, allocations: 379.7 kB / 1.107 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.8256, allocations: 17.66 kB / 1.108 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.8272, allocations: 161.6 kB / 1.108 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.8273, allocations: 43.62 kB / 1.108 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0052/0.8325, allocations: 1.442 MB / 1.109 GB, free: 18.49 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004756/0.8373, allocations: 1.735 MB / 1.111 GB, free: 18.17 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001435/0.8387, allocations: 443.3 kB / 1.111 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001567/0.8403, allocations: 0.95 MB / 1.112 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of Backend: time 3.91e-07/0.8403, allocations: 1.406 kB / 1.112 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007225/0.8476, allocations: 2.123 MB / 1.114 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of SimCode: time 0.009126/0.8567, allocations: 3.895 MB / 1.118 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.06779/0.9245, allocations: 41.63 MB / 1.159 GB, free: 6.082 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)