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.001175/0.001175, allocations: 115.2 kB / 16.38 MB, free: 6.012 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.001059/0.001059, allocations: 186.9 kB / 17.31 MB, free: 5.613 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2351, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4864/0.7215, allocations: 61.24 MB / 0.8446 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.7393, allocations: 11.9 MB / 0.8562 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.7427, allocations: 59.41 kB / 0.8563 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.7455, allocations: 0.6913 MB / 0.8569 GB, free: 15.92 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007864/0.7534, allocations: 1.946 MB / 0.8588 GB, free: 14.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.758, allocations: 1.221 MB / 0.86 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006094/0.7641, allocations: 3.078 MB / 0.863 GB, free: 12.58 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002909/0.767, allocations: 1.129 MB / 0.8641 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004771/0.7718, allocations: 1.33 MB / 0.8654 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/0.7745, allocations: 0.9101 MB / 0.8663 GB, free: 10.99 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006408/0.7752, allocations: 120.5 kB / 0.8664 GB, free: 10.99 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/0.7801, allocations: 1.451 MB / 0.8679 GB, free: 10.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007686/0.7809, allocations: 298.5 kB / 0.8682 GB, free: 10.3 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.7832, allocations: 0.7006 MB / 0.8688 GB, free: 9.863 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006732/0.79, allocations: 2.337 MB / 0.8711 GB, free: 8.633 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.79, allocations: 1.188 kB / 0.8711 GB, free: 8.633 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.134e-06/0.79, allocations: 0 / 0.8711 GB, free: 8.633 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.427e-05/0.7901, allocations: 0 / 0.8711 GB, free: 8.633 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.005788/0.7959, allocations: 1.74 MB / 0.8728 GB, free: 7.293 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.796, allocations: 8.938 kB / 0.8728 GB, free: 7.293 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/0.7988, allocations: 454.1 kB / 0.8733 GB, free: 7.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.8015, allocations: 1.185 MB / 0.8744 GB, free: 6.137 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.8016, allocations: 64.81 kB / 0.8745 GB, free: 6.109 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.8018, allocations: 84.83 kB / 0.8746 GB, free: 6.082 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.8041, allocations: 1.001 MB / 0.8755 GB, free: 5.457 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.8041, allocations: 3.984 kB / 0.8755 GB, free: 5.453 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.8042, allocations: 31.12 kB / 0.8756 GB, free: 5.43 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.8042, allocations: 23.09 kB / 0.8756 GB, free: 5.43 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.8069, allocations: 0.9424 MB / 0.8765 GB, free: 4.969 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.007469/0.8144, allocations: 4.662 MB / 0.8811 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.8186, allocations: 0.9868 MB / 0.882 GB, free: 364 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.8197, allocations: 421.4 kB / 0.8824 GB, free: 152 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.8209, allocations: 1.014 MB / 0.8834 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.8209, allocations: 46.38 kB / 0.8835 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.865e-06/0.821, allocations: 0 / 0.8835 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.009436/0.8304, allocations: 2.172 MB / 0.8856 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.8305, allocations: 57.06 kB / 0.8856 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.8322, allocations: 0.9408 MB / 0.8866 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.8323, allocations: 38.48 kB / 0.8866 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.8328, allocations: 0.5074 MB / 0.8871 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.8331, allocations: 180.2 kB / 0.8873 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.8334, allocations: 129 kB / 0.8874 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8335, allocations: 328 kB / 0.8877 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.8346, allocations: 351.3 kB / 0.888 GB, free: 12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.8359, allocations: 0.5246 MB / 0.8885 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/0.8381, allocations: 0.7483 MB / 0.8893 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8381, allocations: 1.062 kB / 0.8893 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003325/0.8414, allocations: 1.066 MB / 0.8903 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.8415, allocations: 5.812 kB / 0.8903 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.8415, allocations: 4.141 kB / 0.8903 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.8428, allocations: 304.3 kB / 0.8906 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.8434, allocations: 133.7 kB / 0.8907 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.8449, allocations: 0.8875 MB / 0.8916 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.8463, allocations: 123.4 kB / 0.8917 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.8464, allocations: 32.28 kB / 0.8918 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001477/0.8478, allocations: 0.554 MB / 0.8923 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001164/0.849, allocations: 0.5117 MB / 0.8928 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002035/0.8511, allocations: 0.7446 MB / 0.8935 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.079e-06/0.8511, allocations: 2.688 kB / 0.8935 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003094/0.8542, allocations: 1.048 MB / 0.8946 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.8542, allocations: 10.5 kB / 0.8946 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8542, allocations: 2.75 kB / 0.8946 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.8553, allocations: 301.7 kB / 0.8949 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.8559, allocations: 133.9 kB / 0.895 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.8573, allocations: 0.8892 MB / 0.8959 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.8586, allocations: 114.1 kB / 0.896 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/0.8587, allocations: 27.95 kB / 0.896 GB, free: 7.051 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.0002953/0.859, allocations: 222.8 kB / 0.8962 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.8593, allocations: 111.4 kB / 0.8963 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.8639, allocations: 1.311 MB / 0.8976 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.864, allocations: 8 kB / 0.8976 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.864, allocations: 0 / 0.8976 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.864, allocations: 7.922 kB / 0.8976 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006299/0.8703, allocations: 2.406 MB / 0.9 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.8704, allocations: 7.984 kB / 0.9 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/0.8709, allocations: 100 kB / 0.9001 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000991/0.8719, allocations: 294 kB / 0.9003 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/0.872, allocations: 15.98 kB / 0.9003 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.8734, allocations: 0.9307 MB / 0.9013 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8735, allocations: 3.938 kB / 0.9013 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004417/0.8779, allocations: 1.327 MB / 0.9026 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007559/0.8787, allocations: 279.5 kB / 0.9028 GB, free: 412 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.8789, allocations: 15.94 kB / 0.9028 GB, free: 396 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/0.8797, allocations: 75.91 kB / 0.9029 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.8799, allocations: 36.39 kB / 0.9029 GB, free: 284 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/0.8799, allocations: 23.98 kB / 0.903 GB, free: 260 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001058/0.881, allocations: 0.6675 MB / 0.9036 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/0.881, allocations: 1.125 kB / 0.9036 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001814/0.8828, allocations: 0.573 MB / 0.9042 GB, free: 15 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.001059/0.8839, allocations: 400.3 kB / 0.9046 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004159/0.8881, allocations: 1.3 MB / 0.9058 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.8881, allocations: 0 / 0.9058 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.8895, allocations: 464.8 kB / 0.9063 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/0.8923, allocations: 0.4979 MB / 0.9068 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.8967, allocations: 1.905 MB / 0.9086 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.8974, allocations: 1.066 MB / 0.9097 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.8977, allocations: 91.39 kB / 0.9098 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of SimCode: time 6.62e-07/0.8977, allocations: 0 / 0.9098 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of Templates: time 0.03406/0.9318, allocations: 24.13 MB / 0.9333 GB, free: 1.395 MB / 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)