Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.232/2.232, allocations: 251.1 MB / 266.7 MB, free: 11.66 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.001379/0.001379, allocations: 182.8 kB / 326.3 MB, free: 2.879 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.267/2.267, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.0009244/0.0009243, allocations: 85.25 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004981, allocations: 12.38 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 106.3 MB / 0.8995 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1723/0.3817, allocations: 120.7 MB / 1.017 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.05707/0.4389, allocations: 23.62 MB / 1.04 GB, free: 0.8711 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005211/0.4441, allocations: 115.2 kB / 1.041 GB, free: 0.7578 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.006053/0.4502, allocations: 1.192 MB / 1.042 GB, free: 15.55 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.01558/0.4659, allocations: 3.505 MB / 1.045 GB, free: 12.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.4782, allocations: 2.454 MB / 1.048 GB, free: 9.613 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.6585/1.137, allocations: 9.859 MB / 1.057 GB, free: 42.78 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005708/1.143, allocations: 2.409 MB / 1.06 GB, free: 42.56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007991/1.151, allocations: 2.637 MB / 1.062 GB, free: 42.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005884/1.156, allocations: 2.163 MB / 1.064 GB, free: 42.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001345/1.158, allocations: 133 kB / 1.064 GB, free: 42.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009518/1.167, allocations: 2.038 MB / 1.066 GB, free: 42.54 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002136/1.17, allocations: 0.5822 MB / 1.067 GB, free: 42.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/1.172, allocations: 0.7261 MB / 1.068 GB, free: 42.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/1.184, allocations: 4.75 MB / 1.072 GB, free: 42.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/1.184, allocations: 4.562 kB / 1.072 GB, free: 42.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.108e-06/1.184, allocations: 0 / 1.072 GB, free: 42.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001958/1.184, allocations: 3 kB / 1.072 GB, free: 42.34 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01242/1.196, allocations: 3.433 MB / 1.076 GB, free: 40.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/1.196, allocations: 8.25 kB / 1.076 GB, free: 40.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01956/1.216, allocations: 1.364 MB / 1.077 GB, free: 40.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008393/1.224, allocations: 2.804 MB / 1.08 GB, free: 39.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004448/1.225, allocations: 250.7 kB / 1.08 GB, free: 39.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008672/1.226, allocations: 236.2 kB / 1.08 GB, free: 39.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/1.239, allocations: 3.128 MB / 1.083 GB, free: 39.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.274e-05/1.239, allocations: 6.625 kB / 1.083 GB, free: 39.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004733/1.24, allocations: 102.5 kB / 1.083 GB, free: 39.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/1.24, allocations: 73.41 kB / 1.083 GB, free: 39.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/1.256, allocations: 2.769 MB / 1.086 GB, free: 39.16 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.03043/1.287, allocations: 13.27 MB / 1.099 GB, free: 33.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007267/1.294, allocations: 1.418 MB / 1.1 GB, free: 33.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005534/1.3, allocations: 0.9007 MB / 1.101 GB, free: 33.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002407/1.302, allocations: 1.788 MB / 1.103 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006228/1.308, allocations: 1.139 MB / 1.104 GB, free: 30.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 5.841e-06/1.308, allocations: 0 / 1.104 GB, free: 30.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.04127/1.35, allocations: 4.244 MB / 1.108 GB, free: 30.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/1.35, allocations: 0.5806 MB / 1.109 GB, free: 29.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006223/1.356, allocations: 2.477 MB / 1.111 GB, free: 29.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005492/1.357, allocations: 59.55 kB / 1.111 GB, free: 29.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.358, allocations: 1.343 MB / 1.113 GB, free: 29.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007891/1.359, allocations: 445.9 kB / 1.113 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/1.359, allocations: 35.53 kB / 1.113 GB, free: 28.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.36, allocations: 379 kB / 1.114 GB, free: 28.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006554/1.366, allocations: 0.9572 MB / 1.114 GB, free: 28.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007173/1.373, allocations: 1.551 MB / 1.116 GB, free: 27.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006908/1.38, allocations: 1.105 MB / 1.117 GB, free: 27.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/1.38, allocations: 5.531 kB / 1.117 GB, free: 27.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02164/1.402, allocations: 3.111 MB / 1.12 GB, free: 26.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002877/1.402, allocations: 476.4 kB / 1.121 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/1.402, allocations: 12.78 kB / 1.121 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003861/1.406, allocations: 0.6893 MB / 1.121 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005428/1.412, allocations: 0.5009 MB / 1.122 GB, free: 25.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/1.415, allocations: 1.793 MB / 1.123 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008822/1.424, allocations: 0.5174 MB / 1.124 GB, free: 24.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004253/1.424, allocations: 104 kB / 1.124 GB, free: 24.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.425, allocations: 3.406 kB / 1.124 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02052/1.445, allocations: 2.841 MB / 1.127 GB, free: 23.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/1.445, allocations: 10.62 kB / 1.127 GB, free: 23.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/1.449, allocations: 0.6845 MB / 1.128 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00535/1.454, allocations: 0.4982 MB / 1.128 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/1.458, allocations: 1.786 MB / 1.13 GB, free: 22.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008011/1.466, allocations: 455.9 kB / 1.13 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004271/1.466, allocations: 105.3 kB / 1.13 GB, free: 21.86 MB / 0.698 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.002038/1.468, allocations: 0.6924 MB / 1.131 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008674/1.469, allocations: 270.8 kB / 1.131 GB, free: 21.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01953/1.489, allocations: 2.584 MB / 1.134 GB, free: 20.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01838/1.507, allocations: 2.204 MB / 1.136 GB, free: 20.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/1.507, allocations: 256 / 1.136 GB, free: 20.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002469/1.51, allocations: 0.636 MB / 1.137 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007455/1.51, allocations: 33.38 kB / 1.137 GB, free: 19.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005712/1.516, allocations: 276.8 kB / 1.137 GB, free: 19.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/1.516, allocations: 97.02 kB / 1.137 GB, free: 19.52 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01844/1.535, allocations: 3.11 MB / 1.14 GB, free: 18.22 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01751/1.552, allocations: 3.658 MB / 1.144 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005922/1.558, allocations: 0.8397 MB / 1.144 GB, free: 15.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005089/1.564, allocations: 1.714 MB / 1.146 GB, free: 14.06 MB / 0.698 GB Notification: Performance of Backend: time 1.092e-06/1.564, allocations: 0 / 1.146 GB, free: 14.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02489/1.588, allocations: 3.965 MB / 1.15 GB, free: 10.99 MB / 0.698 GB Notification: Performance of SimCode: time 0.02533/1.614, allocations: 7.058 MB / 1.157 GB, free: 4.473 MB / 0.698 GB Notification: Performance of Templates: time 0.2187/1.833, allocations: 83.22 MB / 1.238 GB, free: 2.406 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)