Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 108.5 kB / 16.36 MB, free: 6.008 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.001072/0.001072, allocations: 197.3 kB / 17.3 MB, free: 5.609 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.312/1.312, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001418/0.001418, allocations: 67.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2022, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3883/0.5906, allocations: 61.26 MB / 0.8446 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.6059, allocations: 11.89 MB / 0.8562 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002601/0.6085, allocations: 59.56 kB / 0.8563 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.6108, allocations: 0.6954 MB / 0.8569 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006057/0.6169, allocations: 1.941 MB / 0.8588 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.6204, allocations: 1.222 MB / 0.86 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004731/0.6251, allocations: 3.078 MB / 0.863 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.6271, allocations: 1.13 MB / 0.8641 GB, free: 12.04 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.6306, allocations: 1.333 MB / 0.8654 GB, free: 11.38 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.6326, allocations: 0.9168 MB / 0.8663 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.6329, allocations: 118.5 kB / 0.8665 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.6363, allocations: 1.444 MB / 0.8679 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.6366, allocations: 298.8 kB / 0.8681 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009747/0.6376, allocations: 0.7036 MB / 0.8688 GB, free: 9.828 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004747/0.6424, allocations: 2.335 MB / 0.8711 GB, free: 8.559 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.6424, allocations: 0 / 0.8711 GB, free: 8.559 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6424, allocations: 3.938 kB / 0.8711 GB, free: 8.555 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.6425, allocations: 0 / 0.8711 GB, free: 8.555 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003482/0.6459, allocations: 1.738 MB / 0.8728 GB, free: 7.219 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.646, allocations: 10.59 kB / 0.8728 GB, free: 7.219 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.6488, allocations: 456.4 kB / 0.8733 GB, free: 7.012 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.6511, allocations: 1.122 MB / 0.8744 GB, free: 6.094 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/0.6514, allocations: 119.4 kB / 0.8745 GB, free: 6.047 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.6516, allocations: 84.56 kB / 0.8746 GB, free: 6.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.6538, allocations: 1.002 MB / 0.8755 GB, free: 5.398 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6539, allocations: 4.938 kB / 0.8755 GB, free: 5.395 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.6539, allocations: 31.97 kB / 0.8756 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.654, allocations: 18 kB / 0.8756 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.6566, allocations: 0.9596 MB / 0.8765 GB, free: 4.898 MB / 0.67 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.00656/0.6631, allocations: 4.66 MB / 0.8811 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.6673, allocations: 1.01 MB / 0.8821 GB, free: 284 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.6684, allocations: 416 kB / 0.8825 GB, free: 80 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009862/0.6694, allocations: 1.023 MB / 0.8835 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.6695, allocations: 37.25 kB / 0.8835 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.395e-06/0.6695, allocations: 0 / 0.8835 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.009717/0.6792, allocations: 2.235 MB / 0.8857 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.6793, allocations: 61.14 kB / 0.8857 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.6811, allocations: 0.937 MB / 0.8866 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.6813, allocations: 38.48 kB / 0.8867 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.6817, allocations: 0.5115 MB / 0.8872 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.682, allocations: 179.7 kB / 0.8874 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.6822, allocations: 133.5 kB / 0.8875 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6824, allocations: 327.6 kB / 0.8878 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.6834, allocations: 366.5 kB / 0.8881 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.6846, allocations: 0.5163 MB / 0.8886 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.6866, allocations: 0.7667 MB / 0.8894 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6866, allocations: 1.25 kB / 0.8894 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003094/0.6897, allocations: 1.072 MB / 0.8904 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.6898, allocations: 6.625 kB / 0.8904 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6898, allocations: 6.203 kB / 0.8905 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.6911, allocations: 311.6 kB / 0.8908 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.6918, allocations: 138 kB / 0.8909 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.6932, allocations: 0.9101 MB / 0.8918 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.6945, allocations: 120.5 kB / 0.8919 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.6946, allocations: 35.8 kB / 0.8919 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001423/0.696, allocations: 0.5532 MB / 0.8925 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001213/0.6972, allocations: 0.5137 MB / 0.893 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002039/0.6993, allocations: 0.7565 MB / 0.8937 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.6993, allocations: 0 / 0.8937 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003033/0.7023, allocations: 1.066 MB / 0.8947 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.7024, allocations: 11.75 kB / 0.8948 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7024, allocations: 5.688 kB / 0.8948 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.7035, allocations: 299.2 kB / 0.895 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.7042, allocations: 134.2 kB / 0.8952 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.7056, allocations: 0.9053 MB / 0.8961 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.7069, allocations: 113.3 kB / 0.8962 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.707, allocations: 31.23 kB / 0.8962 GB, free: 6.91 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.7073, allocations: 219.1 kB / 0.8964 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.7075, allocations: 106.9 kB / 0.8965 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/0.7121, allocations: 1.323 MB / 0.8978 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.7122, allocations: 11.98 kB / 0.8978 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7122, allocations: 0.5625 kB / 0.8978 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.7122, allocations: 7.922 kB / 0.8978 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006315/0.7185, allocations: 2.422 MB / 0.9002 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.7186, allocations: 0 / 0.9002 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.7192, allocations: 109.1 kB / 0.9003 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/0.7202, allocations: 307 kB / 0.9006 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.7203, allocations: 15.98 kB / 0.9006 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.7218, allocations: 0.9442 MB / 0.9015 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.7218, allocations: 7.984 kB / 0.9015 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/0.7261, allocations: 1.327 MB / 0.9028 GB, free: 468 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006209/0.7268, allocations: 284 kB / 0.9031 GB, free: 164 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.727, allocations: 19.31 kB / 0.9031 GB, free: 148 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/0.7278, allocations: 75.91 kB / 0.9032 GB, free: 72 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.7279, allocations: 44.31 kB / 0.9032 GB, free: 28 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.728, allocations: 23.98 kB / 0.9032 GB, free: 4 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009584/0.729, allocations: 0.6676 MB / 0.9039 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.729, allocations: 0.5625 kB / 0.9039 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001677/0.7307, allocations: 0.573 MB / 0.9045 GB, free: 14.75 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008518/0.7315, allocations: 395.9 kB / 0.9048 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003807/0.7353, allocations: 1.319 MB / 0.9061 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7354, allocations: 0 / 0.9061 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.7366, allocations: 464.8 kB / 0.9066 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.739, allocations: 0.498 MB / 0.9071 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.7428, allocations: 1.88 MB / 0.9089 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.7434, allocations: 1.07 MB / 0.9099 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009599/0.7444, allocations: 232.9 kB / 0.9102 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.7446, allocations: 83.34 kB / 0.9102 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of SimCode: time 9.81e-07/0.7446, allocations: 0 / 0.9102 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of Templates: time 0.03917/0.7838, allocations: 24.95 MB / 0.9346 GB, free: 268 kB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)