Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.603/1.603, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.001096/0.001096, allocations: 179.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.371/1.371, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0007188/0.0007189, allocations: 100.5 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 16.73 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1959, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.4908/0.6867, allocations: 106.7 MB / 1.083 GB, free: 33.56 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02789/0.7146, allocations: 19.92 MB / 1.103 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.7189, allocations: 92.75 kB / 1.103 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004781/0.7237, allocations: 1.331 MB / 1.104 GB, free: 33.07 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.011/0.7348, allocations: 3.103 MB / 1.107 GB, free: 32.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007675/0.7425, allocations: 2.133 MB / 1.109 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01249/0.7549, allocations: 8.938 MB / 1.118 GB, free: 28.58 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004488/0.7595, allocations: 2.179 MB / 1.12 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006002/0.7655, allocations: 2.428 MB / 1.123 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004869/0.7704, allocations: 2.138 MB / 1.125 GB, free: 26.13 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001452/0.7719, allocations: 134.8 kB / 1.125 GB, free: 26.13 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006145/0.7781, allocations: 1.28 MB / 1.126 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.7798, allocations: 0.7019 MB / 1.127 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002445/0.7823, allocations: 0.665 MB / 1.127 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006983/0.7893, allocations: 4.109 MB / 1.131 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7893, allocations: 4 kB / 1.131 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.317e-06/0.7893, allocations: 0 / 1.131 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001988/0.7896, allocations: 2.734 kB / 1.131 GB, free: 23.15 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.00883/0.7984, allocations: 3.209 MB / 1.135 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.7985, allocations: 8.938 kB / 1.135 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/0.8021, allocations: 0.644 MB / 1.135 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006343/0.8085, allocations: 2.556 MB / 1.138 GB, free: 18.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004915/0.809, allocations: 311 kB / 1.138 GB, free: 18.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007418/0.8098, allocations: 207.3 kB / 1.138 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005941/0.8157, allocations: 2.582 MB / 1.141 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.374e-05/0.8158, allocations: 11.27 kB / 1.141 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003002/0.8161, allocations: 90.53 kB / 1.141 GB, free: 16.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-05/0.8162, allocations: 58.97 kB / 1.141 GB, free: 16.74 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005094/0.8213, allocations: 2.283 MB / 1.143 GB, free: 15.58 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.01609/0.8374, allocations: 11.47 MB / 1.154 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.8402, allocations: 1.35 MB / 1.156 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.8419, allocations: 0.8418 MB / 1.156 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/0.8427, allocations: 1.32 MB / 1.158 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002156/0.8449, allocations: 1.094 MB / 1.159 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=115): time 7.575e-06/0.8449, allocations: 0 / 1.159 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=115): time 0.005888/0.8508, allocations: 2.492 MB / 1.161 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.8509, allocations: 480.2 kB / 1.162 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/0.8554, allocations: 2.641 MB / 1.164 GB, free: 15.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003108/0.8557, allocations: 56.92 kB / 1.164 GB, free: 15.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.857, allocations: 1.304 MB / 1.166 GB, free: 14.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005239/0.8576, allocations: 406 kB / 1.166 GB, free: 13.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.8577, allocations: 29.53 kB / 1.166 GB, free: 13.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.8579, allocations: 363.1 kB / 1.166 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.8598, allocations: 0.7991 MB / 1.167 GB, free: 13.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.8621, allocations: 1.34 MB / 1.168 GB, free: 12.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.8659, allocations: 1.921 MB / 1.17 GB, free: 10.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.8659, allocations: 4 kB / 1.17 GB, free: 10.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005706/0.8717, allocations: 2.308 MB / 1.173 GB, free: 7.801 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003132/0.872, allocations: 421.7 kB / 1.173 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.872, allocations: 14.72 kB / 1.173 GB, free: 7.227 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/0.8721, allocations: 20 kB / 1.173 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.8739, allocations: 427.3 kB / 1.173 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.872e-05/0.874, allocations: 27.92 kB / 1.173 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/0.8771, allocations: 337.6 kB / 1.174 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.8774, allocations: 71.97 kB / 1.174 GB, free: 6.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8774, allocations: 0 / 1.174 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004599/0.882, allocations: 2.047 MB / 1.176 GB, free: 4.305 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.8821, allocations: 12 kB / 1.176 GB, free: 4.293 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.8821, allocations: 16.91 kB / 1.176 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.8839, allocations: 431.3 kB / 1.176 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.431e-05/0.8839, allocations: 27.92 kB / 1.176 GB, free: 3.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/0.8868, allocations: 306 kB / 1.177 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.8871, allocations: 71.98 kB / 1.177 GB, free: 3.457 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reaToInt.y,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001531/0.8886, allocations: 0.6879 MB / 1.177 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008217/0.8894, allocations: 276.7 kB / 1.178 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/0.8941, allocations: 2.167 MB / 1.18 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003334/0.8975, allocations: 1.719 MB / 1.181 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.8975, allocations: 0 / 1.181 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.8995, allocations: 0.6221 MB / 1.182 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008647/0.9004, allocations: 24 kB / 1.182 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/0.9027, allocations: 177.6 kB / 1.182 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.9029, allocations: 107.3 kB / 1.182 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004871/0.9078, allocations: 2.238 MB / 1.184 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006769/0.9146, allocations: 3.467 MB / 1.188 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001768/0.9164, allocations: 0.8706 MB / 1.189 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003691/0.9201, allocations: 1.809 MB / 1.19 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of Backend: time 5.31e-07/0.9201, allocations: 0 / 1.19 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009246/0.9294, allocations: 3.092 MB / 1.193 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of SimCode: time 0.01305/0.9425, allocations: 6.508 MB / 1.2 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.1037/1.046, allocations: 67.07 MB / 1.265 GB, free: 9.035 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)