Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001359/0.001358, allocations: 177 kB / 326.3 MB, free: 2.848 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.739/2.739, allocations: 205.4 MB / 0.5772 GB, free: 21.11 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.000888/0.0008879, allocations: 92.36 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004965, allocations: 21.31 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1999, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1874/0.3873, allocations: 120.7 MB / 1.017 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.05898/0.4463, allocations: 23.62 MB / 1.04 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007358/0.4538, allocations: 123.2 kB / 1.041 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00926/0.4631, allocations: 1.192 MB / 1.042 GB, free: 15.96 MB / 0.698 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. [/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.02441/0.4876, allocations: 3.525 MB / 1.045 GB, free: 12.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.02002/0.5076, allocations: 2.455 MB / 1.048 GB, free: 10 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02687/0.5345, allocations: 9.844 MB / 1.057 GB, free: 132 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6635/1.198, allocations: 2.417 MB / 1.06 GB, free: 42.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008977/1.207, allocations: 2.645 MB / 1.062 GB, free: 42.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005941/1.213, allocations: 2.176 MB / 1.064 GB, free: 42.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001489/1.215, allocations: 130.8 kB / 1.064 GB, free: 42.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009784/1.224, allocations: 2.043 MB / 1.066 GB, free: 42.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002113/1.227, allocations: 0.5797 MB / 1.067 GB, free: 42.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002542/1.229, allocations: 0.7332 MB / 1.068 GB, free: 42.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/1.241, allocations: 4.774 MB / 1.072 GB, free: 42.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.241, allocations: 3.375 kB / 1.072 GB, free: 42.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.885e-06/1.241, allocations: 0 / 1.072 GB, free: 42.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000199/1.241, allocations: 3.641 kB / 1.072 GB, free: 42.68 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01243/1.254, allocations: 3.455 MB / 1.076 GB, free: 40.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.254, allocations: 8.875 kB / 1.076 GB, free: 40.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01941/1.273, allocations: 1.368 MB / 1.077 GB, free: 40.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008699/1.282, allocations: 2.814 MB / 1.08 GB, free: 40.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003745/1.282, allocations: 252 kB / 1.08 GB, free: 40.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008655/1.283, allocations: 242.1 kB / 1.08 GB, free: 40.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/1.296, allocations: 3.162 MB / 1.083 GB, free: 39.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.675e-05/1.297, allocations: 9.281 kB / 1.083 GB, free: 39.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/1.297, allocations: 99.78 kB / 1.083 GB, free: 39.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/1.297, allocations: 64.58 kB / 1.084 GB, free: 39.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/1.314, allocations: 2.812 MB / 1.086 GB, free: 39.48 MB / 0.698 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.0327/1.347, allocations: 13.59 MB / 1.1 GB, free: 33.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007669/1.355, allocations: 1.431 MB / 1.101 GB, free: 33.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005657/1.361, allocations: 0.8817 MB / 1.102 GB, free: 33.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/1.363, allocations: 1.793 MB / 1.104 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006592/1.37, allocations: 1.128 MB / 1.105 GB, free: 30.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 6.533e-06/1.37, allocations: 0 / 1.105 GB, free: 30.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.06732/1.437, allocations: 9.773 MB / 1.114 GB, free: 27.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001959/1.437, allocations: 0.5751 MB / 1.115 GB, free: 26.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007408/1.445, allocations: 2.59 MB / 1.117 GB, free: 26.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005892/1.445, allocations: 58.73 kB / 1.117 GB, free: 26.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001779/1.447, allocations: 1.342 MB / 1.119 GB, free: 25.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008938/1.448, allocations: 466.4 kB / 1.119 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/1.448, allocations: 41.34 kB / 1.119 GB, free: 25.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.449, allocations: 372.7 kB / 1.119 GB, free: 24.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007135/1.456, allocations: 0.9527 MB / 1.12 GB, free: 24.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007684/1.463, allocations: 1.549 MB / 1.122 GB, free: 23.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009489/1.473, allocations: 1.094 MB / 1.123 GB, free: 23.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-05/1.473, allocations: 3.031 kB / 1.123 GB, free: 23.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.03881/1.512, allocations: 3.363 MB / 1.126 GB, free: 22.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004543/1.512, allocations: 493 kB / 1.127 GB, free: 22.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.154e-05/1.513, allocations: 9.844 kB / 1.127 GB, free: 22.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007818/1.52, allocations: 0.8984 MB / 1.128 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007883/1.528, allocations: 483.8 kB / 1.128 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007388/1.536, allocations: 2.185 MB / 1.13 GB, free: 20.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01386/1.55, allocations: 405.5 kB / 1.131 GB, free: 20.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009162/1.551, allocations: 108.8 kB / 1.131 GB, free: 20.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.551, allocations: 13.03 kB / 1.131 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03565/1.586, allocations: 3.075 MB / 1.134 GB, free: 19.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.093e-05/1.587, allocations: 15 kB / 1.134 GB, free: 19.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007968/1.595, allocations: 0.8768 MB / 1.135 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007569/1.602, allocations: 478 kB / 1.135 GB, free: 19.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007223/1.609, allocations: 2.19 MB / 1.137 GB, free: 18.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/1.622, allocations: 370.8 kB / 1.138 GB, free: 18.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009123/1.623, allocations: 105.4 kB / 1.138 GB, free: 18.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.003994/1.627, allocations: 0.7045 MB / 1.138 GB, free: 17.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/1.628, allocations: 277.8 kB / 1.139 GB, free: 17.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02171/1.65, allocations: 2.31 MB / 1.141 GB, free: 17.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01837/1.669, allocations: 1.924 MB / 1.143 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/1.669, allocations: 4 kB / 1.143 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003532/1.672, allocations: 0.6317 MB / 1.143 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/1.674, allocations: 32.31 kB / 1.143 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01027/1.684, allocations: 280.7 kB / 1.144 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006116/1.685, allocations: 97.8 kB / 1.144 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03074/1.715, allocations: 3.2 MB / 1.147 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0283/1.744, allocations: 3.709 MB / 1.151 GB, free: 9.988 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00856/1.752, allocations: 0.8406 MB / 1.151 GB, free: 9.398 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.008052/1.761, allocations: 1.791 MB / 1.153 GB, free: 8.145 MB / 0.698 GB Notification: Performance of Backend: time 2.024e-06/1.761, allocations: 4 kB / 1.153 GB, free: 8.141 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.03713/1.798, allocations: 4.045 MB / 1.157 GB, free: 5 MB / 0.698 GB Notification: Performance of SimCode: time 0.03294/1.831, allocations: 7.159 MB / 1.164 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.3521/2.183, allocations: 86.73 MB / 1.249 GB, free: 8.793 MB / 0.7917 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)