Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.4 MB / 304.3 MB, free: 8.16 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.0009753/0.0009754, allocations: 176.5 kB / 372.9 MB, free: 10.14 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.339/1.339, allocations: 205.4 MB / 0.6316 GB, free: 9.875 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.0007642/0.0007642, allocations: 86.36 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 11.66 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1938, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.06904/0.2629, allocations: 83.01 MB / 1.062 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.4405/0.7035, allocations: 23.87 MB / 1.085 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.7078, allocations: 91 kB / 1.085 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005131/0.7129, allocations: 1.349 MB / 1.086 GB, free: 26.56 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735: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:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0108/0.7237, allocations: 3.062 MB / 1.089 GB, free: 26.42 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.7361, allocations: 3.394 MB / 1.093 GB, free: 26.29 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0141/0.7502, allocations: 7.69 MB / 1.1 GB, free: 25.45 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004338/0.7546, allocations: 1.936 MB / 1.102 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006373/0.761, allocations: 2.264 MB / 1.104 GB, free: 24.56 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004643/0.7657, allocations: 1.874 MB / 1.106 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.7668, allocations: 127.7 kB / 1.106 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007928/0.7748, allocations: 2.254 MB / 1.109 GB, free: 23.96 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.7766, allocations: 0.6264 MB / 1.109 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004671/0.7813, allocations: 1.398 MB / 1.111 GB, free: 23.42 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008377/0.7897, allocations: 4.05 MB / 1.114 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.7897, allocations: 0 / 1.114 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.448e-06/0.7898, allocations: 3.938 kB / 1.115 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001631/0.7899, allocations: 2.406 kB / 1.115 GB, free: 22.91 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.007633/0.7976, allocations: 3.06 MB / 1.117 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.144e-05/0.7977, allocations: 13.06 kB / 1.118 GB, free: 20.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003704/0.8014, allocations: 0.721 MB / 1.118 GB, free: 20.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/0.8068, allocations: 2.37 MB / 1.121 GB, free: 19.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008621/0.8077, allocations: 339.5 kB / 1.121 GB, free: 19.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004818/0.8082, allocations: 173.8 kB / 1.121 GB, free: 19.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005086/0.8133, allocations: 2.068 MB / 1.123 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-05/0.8133, allocations: 1.312 kB / 1.123 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.8136, allocations: 70.19 kB / 1.123 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.235e-05/0.8137, allocations: 39.72 kB / 1.123 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00579/0.8195, allocations: 1.876 MB / 1.125 GB, free: 18.34 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.01635/0.8359, allocations: 9.513 MB / 1.134 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.8383, allocations: 1.212 MB / 1.135 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.8399, allocations: 0.7435 MB / 1.136 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005804/0.8457, allocations: 3.868 MB / 1.14 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001653/0.8474, allocations: 0.8611 MB / 1.141 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001031/0.8485, allocations: 178.4 kB / 1.141 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 5.17e-06/0.8485, allocations: 0 / 1.141 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.005188/0.8537, allocations: 2.098 MB / 1.143 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.8538, allocations: 175.4 kB / 1.143 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/0.8572, allocations: 2.342 MB / 1.145 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002828/0.8575, allocations: 65.05 kB / 1.146 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008379/0.8583, allocations: 1.17 MB / 1.147 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.8586, allocations: 340.3 kB / 1.147 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.8587, allocations: 29.12 kB / 1.147 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.8588, allocations: 369.6 kB / 1.147 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.8605, allocations: 0.7946 MB / 1.148 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.8625, allocations: 1.3 MB / 1.149 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.8656, allocations: 1.908 MB / 1.151 GB, free: 148 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.577e-06/0.8656, allocations: 3.562 kB / 1.151 GB, free: 148 kB / 0.6823 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005377/0.871, allocations: 2.429 MB / 1.154 GB, free: 14.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004437/0.8714, allocations: 0.5771 MB / 1.154 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.8715, allocations: 16.69 kB / 1.154 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.8715, allocations: 17.75 kB / 1.154 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.873, allocations: 368.4 kB / 1.155 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/0.873, allocations: 26.42 kB / 1.155 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/0.8763, allocations: 365.2 kB / 1.155 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.8765, allocations: 92.86 kB / 1.155 GB, free: 13.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.8765, allocations: 3.344 kB / 1.155 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004644/0.8812, allocations: 2.227 MB / 1.157 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.8812, allocations: 12.28 kB / 1.157 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.8813, allocations: 24.94 kB / 1.157 GB, free: 12.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.8827, allocations: 367 kB / 1.158 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/0.8828, allocations: 30.08 kB / 1.158 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/0.8858, allocations: 350.2 kB / 1.158 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.886, allocations: 86.33 kB / 1.158 GB, free: 12.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,$PRE.uMod.booPul.y,uMod.booPul.y,$PRE.pulse.booPul.y,pulse.booPul.y,$PRE.TSouEnt.booPul.y,TSouEnt.booPul.y,$PRE.TLoaSet.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 164 * Array equations: 2 * Algorithm blocks: 4 * Record equations: 1 * 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.00159/0.8876, allocations: 0.6346 MB / 1.159 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/0.8882, allocations: 245.4 kB / 1.159 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/0.8922, allocations: 1.904 MB / 1.161 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002886/0.8951, allocations: 1.457 MB / 1.162 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8951, allocations: 0 / 1.162 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/0.8966, allocations: 0.5132 MB / 1.163 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/0.897, allocations: 22.73 kB / 1.163 GB, free: 8.188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.8985, allocations: 175.7 kB / 1.163 GB, free: 8.016 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.8987, allocations: 76.88 kB / 1.163 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004081/0.9028, allocations: 1.669 MB / 1.165 GB, free: 6.293 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005649/0.9085, allocations: 2.718 MB / 1.167 GB, free: 3.559 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00147/0.91, allocations: 0.7301 MB / 1.168 GB, free: 2.828 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002847/0.9128, allocations: 1.6 MB / 1.17 GB, free: 1.223 MB / 0.698 GB Notification: Performance of Backend: time 9.22e-07/0.9128, allocations: 4 kB / 1.17 GB, free: 1.219 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008919/0.9218, allocations: 3.676 MB / 1.173 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of SimCode: time 0.01005/0.9318, allocations: 5.854 MB / 1.179 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of Templates: time 0.09728/1.029, allocations: 60.68 MB / 1.238 GB, free: 11.5 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)