Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.606/1.606, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.001266/0.001266, allocations: 187.3 kB / 372.9 MB, free: 10.16 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.445/1.445, allocations: 205.4 MB / 0.6316 GB, free: 9.945 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.0007777/0.0007777, allocations: 102.3 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004174, allocations: 16.89 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1966, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.5216/0.7183, allocations: 120.7 MB / 1.099 GB, free: 34.62 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02769/0.746, allocations: 23.33 MB / 1.121 GB, free: 27.82 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004892/0.7509, allocations: 116.8 kB / 1.122 GB, free: 27.78 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004258/0.7552, allocations: 1.194 MB / 1.123 GB, free: 27.25 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. [/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.01134/0.7666, allocations: 3.701 MB / 1.126 GB, free: 25.56 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0079/0.7745, allocations: 2.527 MB / 1.129 GB, free: 24.32 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01214/0.7867, allocations: 9.889 MB / 1.138 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005586/0.7923, allocations: 2.504 MB / 1.141 GB, free: 18.12 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006669/0.799, allocations: 2.728 MB / 1.144 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004392/0.8034, allocations: 2.163 MB / 1.146 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.8045, allocations: 129.5 kB / 1.146 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007576/0.8121, allocations: 2.35 MB / 1.148 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.8135, allocations: 0.5916 MB / 1.149 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00437/0.8179, allocations: 1.636 MB / 1.15 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007021/0.8249, allocations: 4.828 MB / 1.155 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.825, allocations: 3.938 kB / 1.155 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/0.825, allocations: 0 / 1.155 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001932/0.8252, allocations: 0 / 1.155 GB, free: 9.406 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.006803/0.832, allocations: 3.364 MB / 1.158 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.832, allocations: 11.56 kB / 1.158 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009618/0.8417, allocations: 1.368 MB / 1.16 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005733/0.8475, allocations: 2.907 MB / 1.162 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.8477, allocations: 259.9 kB / 1.163 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004983/0.8482, allocations: 231.8 kB / 1.163 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006983/0.8552, allocations: 3.144 MB / 1.166 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.472e-05/0.8553, allocations: 6.656 kB / 1.166 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.8556, allocations: 108.5 kB / 1.166 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-05/0.8556, allocations: 68.06 kB / 1.166 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008068/0.8637, allocations: 2.771 MB / 1.169 GB, free: 300 kB / 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.02018/0.8839, allocations: 13.31 MB / 1.182 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00405/0.888, allocations: 1.408 MB / 1.183 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.891, allocations: 0.901 MB / 1.184 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001964/0.893, allocations: 1.777 MB / 1.186 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003484/0.8965, allocations: 1.178 MB / 1.187 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 3.987e-06/0.8965, allocations: 0 / 1.187 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126): time 0.02092/0.9174, allocations: 4.267 MB / 1.191 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002769/0.9177, allocations: 0.5821 MB / 1.192 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004283/0.922, allocations: 2.481 MB / 1.194 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003337/0.9224, allocations: 61.7 kB / 1.194 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.9236, allocations: 1.328 MB / 1.196 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.9241, allocations: 449.6 kB / 1.196 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.9242, allocations: 32 kB / 1.196 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.9244, allocations: 381.8 kB / 1.196 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003557/0.928, allocations: 0.9563 MB / 1.197 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/0.932, allocations: 1.552 MB / 1.199 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006564/0.9386, allocations: 2.203 MB / 1.201 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.9386, allocations: 4 kB / 1.201 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01201/0.9507, allocations: 3.116 MB / 1.204 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003949/0.9511, allocations: 479.9 kB / 1.204 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.9511, allocations: 12 kB / 1.204 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/0.9537, allocations: 0.7255 MB / 1.205 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/0.9568, allocations: 0.4992 MB / 1.206 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.9593, allocations: 1.8 MB / 1.207 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00556/0.9649, allocations: 0.514 MB / 1.208 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004033/0.9653, allocations: 103.9 kB / 1.208 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.9653, allocations: 4 kB / 1.208 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01113/0.9765, allocations: 2.837 MB / 1.211 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/0.9765, allocations: 15.98 kB / 1.211 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/0.9791, allocations: 0.7363 MB / 1.212 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/0.9819, allocations: 499.2 kB / 1.212 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.9842, allocations: 1.796 MB / 1.214 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/0.9891, allocations: 465.8 kB / 1.214 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/0.9896, allocations: 103.9 kB / 1.214 GB, free: 0.6016 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001903/0.9915, allocations: 0.6978 MB / 1.215 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008708/0.9924, allocations: 268.7 kB / 1.215 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.004, allocations: 2.589 MB / 1.218 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01004/1.014, allocations: 2.219 MB / 1.22 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/1.014, allocations: 256 / 1.22 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002353/1.016, allocations: 0.6456 MB / 1.221 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006941/1.017, allocations: 32 kB / 1.221 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/1.02, allocations: 280.8 kB / 1.221 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/1.021, allocations: 96.8 kB / 1.221 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01034/1.031, allocations: 3.107 MB / 1.224 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009823/1.041, allocations: 3.661 MB / 1.228 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002829/1.044, allocations: 0.8392 MB / 1.228 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003198/1.047, allocations: 1.711 MB / 1.23 GB, free: 332 kB / 0.7448 GB Notification: Performance of Backend: time 1.092e-06/1.047, allocations: 0 / 1.23 GB, free: 332 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01455/1.062, allocations: 3.92 MB / 1.234 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of SimCode: time 0.01549/1.077, allocations: 7.06 MB / 1.241 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of Templates: time 0.1368/1.214, allocations: 84.29 MB / 1.323 GB, free: 1.418 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)