Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 107.1 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.03 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2115, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.4115/0.623, allocations: 62.64 MB / 0.8459 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02001/0.6431, allocations: 13.56 MB / 0.8592 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003161/0.6463, allocations: 58.25 kB / 0.8592 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003817/0.6501, allocations: 0.9476 MB / 0.8602 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008745/0.6589, allocations: 2.374 MB / 0.8625 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005673/0.6646, allocations: 1.636 MB / 0.8641 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008038/0.6727, allocations: 4.249 MB / 0.8682 GB, free: 9.289 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003563/0.6763, allocations: 1.413 MB / 0.8696 GB, free: 8.656 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.6818, allocations: 1.643 MB / 0.8712 GB, free: 7.883 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.685, allocations: 1.295 MB / 0.8725 GB, free: 7.137 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006655/0.6856, allocations: 176 kB / 0.8726 GB, free: 7.137 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004216/0.6899, allocations: 1.432 MB / 0.874 GB, free: 6.383 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008092/0.6907, allocations: 0.5035 MB / 0.8745 GB, free: 5.992 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.6929, allocations: 1.005 MB / 0.8755 GB, free: 5.297 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00646/0.6994, allocations: 3.169 MB / 0.8786 GB, free: 3.141 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6994, allocations: 1.438 kB / 0.8786 GB, free: 3.141 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6994, allocations: 0 / 0.8786 GB, free: 3.141 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001044/0.6995, allocations: 0 / 0.8786 GB, free: 3.141 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005381/0.7049, allocations: 2.327 MB / 0.8809 GB, free: 1.453 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.7049, allocations: 8.844 kB / 0.8809 GB, free: 1.453 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.7065, allocations: 326.7 kB / 0.8812 GB, free: 1.293 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.7091, allocations: 1.465 MB / 0.8826 GB, free: 172 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.7093, allocations: 160.4 kB / 0.8828 GB, free: 56 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.7095, allocations: 103.2 kB / 0.8829 GB, free: 24 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.7126, allocations: 1.439 MB / 0.8843 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/0.7126, allocations: 6.031 kB / 0.8843 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.7128, allocations: 47.09 kB / 0.8843 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/0.7128, allocations: 28.75 kB / 0.8844 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/0.7163, allocations: 1.337 MB / 0.8857 GB, free: 14.36 MB / 0.6856 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.008763/0.725, allocations: 6.624 MB / 0.8921 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.7273, allocations: 1.174 MB / 0.8933 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.7287, allocations: 0.5602 MB / 0.8938 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008551/0.7296, allocations: 1.141 MB / 0.895 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.7296, allocations: 52.78 kB / 0.895 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.875e-06/0.7296, allocations: 0 / 0.895 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of matching and sorting (n=77): time 0.004531/0.7342, allocations: 1.583 MB / 0.8966 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.7343, allocations: 111.3 kB / 0.8967 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.7361, allocations: 1.399 MB / 0.898 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.7363, allocations: 43.98 kB / 0.8981 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005819/0.7368, allocations: 0.7117 MB / 0.8988 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.7371, allocations: 260.7 kB / 0.899 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.7374, allocations: 182.4 kB / 0.8992 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7376, allocations: 341.3 kB / 0.8995 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.739, allocations: 0.4984 MB / 0.9 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.7405, allocations: 0.7266 MB / 0.9007 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/0.7433, allocations: 1.128 MB / 0.9018 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.7433, allocations: 1.438 kB / 0.9018 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003411/0.7468, allocations: 1.351 MB / 0.9031 GB, free: 92 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7468, allocations: 8 kB / 0.9031 GB, free: 84 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.7468, allocations: 4 kB / 0.9031 GB, free: 80 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.7468, allocations: 12 kB / 0.9032 GB, free: 68 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.7481, allocations: 273.7 kB / 0.9034 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.7482, allocations: 15.92 kB / 0.9034 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.7496, allocations: 154.9 kB / 0.9036 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/0.7497, allocations: 43.98 kB / 0.9036 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001834/0.7515, allocations: 0.7868 MB / 0.9044 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001678/0.7532, allocations: 0.7191 MB / 0.9051 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002654/0.7559, allocations: 1.121 MB / 0.9062 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.908e-06/0.7559, allocations: 0 / 0.9062 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003283/0.7592, allocations: 1.347 MB / 0.9075 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7592, allocations: 8 kB / 0.9075 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.7593, allocations: 10.28 kB / 0.9075 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.7593, allocations: 8.562 kB / 0.9075 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.7605, allocations: 271.6 kB / 0.9078 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.7605, allocations: 11.94 kB / 0.9078 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.7619, allocations: 147.1 kB / 0.9079 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/0.762, allocations: 36 kB / 0.908 GB, free: 10.96 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003367/0.7623, allocations: 241 kB / 0.9082 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.7626, allocations: 146.2 kB / 0.9083 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/0.7661, allocations: 1.477 MB / 0.9098 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002665/0.7688, allocations: 1.101 MB / 0.9109 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7688, allocations: 0 / 0.9109 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000676/0.7695, allocations: 359 kB / 0.9112 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.7697, allocations: 20.91 kB / 0.9112 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.7708, allocations: 95.86 kB / 0.9113 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.771, allocations: 68.56 kB / 0.9114 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003547/0.7746, allocations: 1.278 MB / 0.9126 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004557/0.7791, allocations: 2.049 MB / 0.9146 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001331/0.7805, allocations: 0.5517 MB / 0.9152 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001413/0.7819, allocations: 0.9825 MB / 0.9161 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of Backend: time 1.773e-06/0.7819, allocations: 0 / 0.9161 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005314/0.7872, allocations: 1.87 MB / 0.9179 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of SimCode: time 0.005935/0.7932, allocations: 3.338 MB / 0.9212 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.05929/0.8525, allocations: 37.72 MB / 0.958 GB, free: 8.047 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)