Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001099/0.001099, allocations: 197 kB / 16.14 MB, free: 6.703 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.438/1.438, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.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.73/1.73, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001279/0.001279, allocations: 64.52 kB / 0.6708 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2415, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05546/0.297, allocations: 60.94 MB / 0.8422 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.3134, allocations: 11.99 MB / 0.8539 GB, free: 4.848 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.3158, allocations: 55.62 kB / 0.8539 GB, free: 4.793 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.3178, allocations: 0.5555 MB / 0.8545 GB, free: 4.234 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006071/0.3239, allocations: 1.789 MB / 0.8562 GB, free: 2.438 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.327, allocations: 1.087 MB / 0.8573 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004695/0.3317, allocations: 3.913 MB / 0.8611 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.3335, allocations: 0.9436 MB / 0.862 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.3361, allocations: 1.163 MB / 0.8632 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.3375, allocations: 0.9177 MB / 0.8641 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.3378, allocations: 60 kB / 0.8641 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.3408, allocations: 1.337 MB / 0.8654 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.3411, allocations: 246.8 kB / 0.8657 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008821/0.342, allocations: 0.6373 MB / 0.8663 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.3451, allocations: 2.271 MB / 0.8685 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3452, allocations: 3.938 kB / 0.8685 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3452, allocations: 0 / 0.8685 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.3452, allocations: 0 / 0.8685 GB, free: 5.812 MB / 0.6856 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.003242/0.3484, allocations: 1.746 MB / 0.8702 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3485, allocations: 16.02 kB / 0.8702 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/0.3508, allocations: 410.8 kB / 0.8706 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.3529, allocations: 1.147 MB / 0.8717 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/0.3533, allocations: 117.9 kB / 0.8718 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.3534, allocations: 84 kB / 0.8719 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.3556, allocations: 0.9995 MB / 0.8729 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3556, allocations: 4 kB / 0.8729 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.3557, allocations: 35.94 kB / 0.8729 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3557, allocations: 16 kB / 0.873 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.3581, allocations: 0.9055 MB / 0.8738 GB, free: 192 kB / 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.007067/0.3652, allocations: 4.592 MB / 0.8783 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.3688, allocations: 0.8446 MB / 0.8791 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008152/0.3696, allocations: 337.9 kB / 0.8795 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/0.3703, allocations: 0.9068 MB / 0.8804 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3703, allocations: 39 kB / 0.8804 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 3.216e-06/0.3703, allocations: 3.984 kB / 0.8804 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.008898/0.3793, allocations: 2.006 MB / 0.8824 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.3793, allocations: 59.84 kB / 0.8824 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.3809, allocations: 1.06 MB / 0.8834 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-05/0.381, allocations: 41.7 kB / 0.8835 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.3814, allocations: 0.5159 MB / 0.884 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.3816, allocations: 173.5 kB / 0.8842 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.3819, allocations: 134.1 kB / 0.8843 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.382, allocations: 330 kB / 0.8846 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000965/0.383, allocations: 330.9 kB / 0.8849 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.3841, allocations: 0.5289 MB / 0.8854 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.3859, allocations: 0.7292 MB / 0.8861 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3859, allocations: 0 / 0.8861 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003868/0.3898, allocations: 1.19 MB / 0.8873 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3898, allocations: 15 kB / 0.8873 GB, free: 1.625 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3898, allocations: 4 kB / 0.8873 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.3911, allocations: 312.6 kB / 0.8876 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.3917, allocations: 127.8 kB / 0.8877 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.3932, allocations: 0.9268 MB / 0.8886 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.3946, allocations: 171.3 kB / 0.8888 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/0.3947, allocations: 31.98 kB / 0.8888 GB, free: 36 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001308/0.396, allocations: 0.54 MB / 0.8894 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001119/0.3972, allocations: 0.5305 MB / 0.8899 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001729/0.3989, allocations: 0.7058 MB / 0.8906 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.3989, allocations: 0 / 0.8906 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003784/0.4027, allocations: 1.178 MB / 0.8917 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4027, allocations: 4 kB / 0.8917 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4028, allocations: 4 kB / 0.8917 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4039, allocations: 305 kB / 0.892 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.4045, allocations: 139.8 kB / 0.8922 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.4059, allocations: 0.9073 MB / 0.893 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.4073, allocations: 171.5 kB / 0.8932 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.4074, allocations: 27.98 kB / 0.8932 GB, free: 11.36 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0002467/0.4077, allocations: 217.8 kB / 0.8934 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.4079, allocations: 114.6 kB / 0.8936 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.4119, allocations: 1.2 MB / 0.8947 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.412, allocations: 4 kB / 0.8947 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.412, allocations: 0 / 0.8947 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.412, allocations: 7.984 kB / 0.8947 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005526/0.4175, allocations: 2.284 MB / 0.897 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.4176, allocations: 4 kB / 0.897 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.4179, allocations: 75.88 kB / 0.897 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.419, allocations: 304.7 kB / 0.8973 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.419, allocations: 23.92 kB / 0.8974 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.4206, allocations: 0.9413 MB / 0.8983 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4206, allocations: 4.031 kB / 0.8983 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.4245, allocations: 1.244 MB / 0.8995 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/0.4252, allocations: 275.4 kB / 0.8998 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.4253, allocations: 16 kB / 0.8998 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009384/0.4263, allocations: 95.88 kB / 0.8999 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.4264, allocations: 47.27 kB / 0.8999 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.4265, allocations: 23.98 kB / 0.8999 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001236/0.4277, allocations: 0.7432 MB / 0.9007 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4277, allocations: 0 / 0.9007 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001562/0.4293, allocations: 0.5692 MB / 0.9012 GB, free: 2.973 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0008904/0.4302, allocations: 390.6 kB / 0.9016 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003404/0.4336, allocations: 1.19 MB / 0.9027 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4336, allocations: 0 / 0.9027 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.4346, allocations: 394.8 kB / 0.9031 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.4373, allocations: 0.5248 MB / 0.9036 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/0.4426, allocations: 2.478 MB / 0.9061 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.4433, allocations: 1.07 MB / 0.9071 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001033/0.4443, allocations: 227 kB / 0.9073 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.4445, allocations: 87.41 kB / 0.9074 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/0.4445, allocations: 3.938 kB / 0.9074 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.3999/0.8445, allocations: 24.62 MB / 0.9314 GB, free: 132.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)