Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.00112/0.00112, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.436/1.436, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.892/1.892, allocations: 292.3 MB / 0.5495 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.001619/0.001619, allocations: 71.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2434, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.5093/0.7528, allocations: 61.24 MB / 0.8438 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.7704, allocations: 11.9 MB / 0.8554 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.7739, allocations: 60.31 kB / 0.8555 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.7766, allocations: 0.6809 MB / 0.8562 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008001/0.7846, allocations: 1.949 MB / 0.8581 GB, free: 14.88 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004256/0.7889, allocations: 1.224 MB / 0.8593 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005967/0.7949, allocations: 3.061 MB / 0.8623 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/0.7974, allocations: 1.104 MB / 0.8633 GB, free: 12.22 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00434/0.8017, allocations: 1.335 MB / 0.8646 GB, free: 11.56 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.8038, allocations: 0.9122 MB / 0.8655 GB, free: 11.13 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.8041, allocations: 115.6 kB / 0.8656 GB, free: 11.13 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.8086, allocations: 1.454 MB / 0.8671 GB, free: 10.64 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004674/0.8091, allocations: 290.1 kB / 0.8673 GB, free: 10.45 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.8105, allocations: 0.7027 MB / 0.868 GB, free: 10.01 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005657/0.8162, allocations: 2.31 MB / 0.8703 GB, free: 8.875 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8162, allocations: 1.531 kB / 0.8703 GB, free: 8.875 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8162, allocations: 0 / 0.8703 GB, free: 8.875 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.302e-05/0.8163, allocations: 0 / 0.8703 GB, free: 8.875 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00392/0.8202, allocations: 1.742 MB / 0.872 GB, free: 7.527 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/0.8203, allocations: 8.469 kB / 0.872 GB, free: 7.527 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.8225, allocations: 407.1 kB / 0.8724 GB, free: 7.344 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.8249, allocations: 1.111 MB / 0.8735 GB, free: 6.441 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/0.8253, allocations: 121.8 kB / 0.8736 GB, free: 6.387 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.8255, allocations: 84.22 kB / 0.8737 GB, free: 6.359 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.8276, allocations: 1.007 MB / 0.8746 GB, free: 5.699 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.8277, allocations: 1.062 kB / 0.8746 GB, free: 5.699 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/0.8278, allocations: 32.81 kB / 0.8747 GB, free: 5.676 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.8278, allocations: 22.66 kB / 0.8747 GB, free: 5.672 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.8302, allocations: 0.8909 MB / 0.8756 GB, free: 5.23 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.008005/0.8383, allocations: 4.997 MB / 0.8804 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.8419, allocations: 0.8441 MB / 0.8813 GB, free: 380 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.8427, allocations: 324.1 kB / 0.8816 GB, free: 220 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007915/0.8435, allocations: 0.8994 MB / 0.8825 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.8435, allocations: 42.5 kB / 0.8825 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.505e-06/0.8435, allocations: 0 / 0.8825 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.009132/0.8527, allocations: 1.98 MB / 0.8844 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.8528, allocations: 64.16 kB / 0.8845 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.8548, allocations: 1.075 MB / 0.8855 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.8549, allocations: 37.77 kB / 0.8856 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/0.8554, allocations: 0.5212 MB / 0.8861 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.8556, allocations: 175.7 kB / 0.8863 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.8559, allocations: 141.2 kB / 0.8864 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8561, allocations: 327.8 kB / 0.8867 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/0.8571, allocations: 323.9 kB / 0.887 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.8583, allocations: 0.5462 MB / 0.8875 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.8602, allocations: 0.7334 MB / 0.8883 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.8602, allocations: 1.031 kB / 0.8883 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.004189/0.8644, allocations: 1.214 MB / 0.8894 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.8644, allocations: 10.31 kB / 0.8895 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.8644, allocations: 5.125 kB / 0.8895 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.8658, allocations: 316.2 kB / 0.8898 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.8664, allocations: 140.6 kB / 0.8899 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.868, allocations: 0.9208 MB / 0.8908 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.8697, allocations: 162.8 kB / 0.891 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.8698, allocations: 31.39 kB / 0.891 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001447/0.8712, allocations: 0.5305 MB / 0.8915 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001177/0.8724, allocations: 0.5381 MB / 0.892 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001804/0.8742, allocations: 0.7309 MB / 0.8927 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.701e-06/0.8743, allocations: 6.672 kB / 0.8927 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.004017/0.8783, allocations: 1.189 MB / 0.8939 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.8783, allocations: 8.719 kB / 0.8939 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8783, allocations: 4.125 kB / 0.8939 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.8795, allocations: 308.2 kB / 0.8942 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.8801, allocations: 137 kB / 0.8943 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.8816, allocations: 0.9206 MB / 0.8952 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.8832, allocations: 136.5 kB / 0.8954 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/0.8833, allocations: 35.55 kB / 0.8954 GB, free: 6.871 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0003027/0.8837, allocations: 221.7 kB / 0.8956 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.8839, allocations: 114.1 kB / 0.8957 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.888, allocations: 1.166 MB / 0.8969 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.888, allocations: 9.484 kB / 0.8969 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8881, allocations: 0 / 0.8969 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.8881, allocations: 5.359 kB / 0.8969 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00592/0.894, allocations: 2.245 MB / 0.8991 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.894, allocations: 4 kB / 0.8991 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.8944, allocations: 75.88 kB / 0.8991 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.8955, allocations: 306.1 kB / 0.8994 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.8955, allocations: 15.98 kB / 0.8995 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.8971, allocations: 0.9448 MB / 0.9004 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8971, allocations: 3.938 kB / 0.9004 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/0.9011, allocations: 1.22 MB / 0.9016 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/0.9019, allocations: 271.5 kB / 0.9018 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.9021, allocations: 18.62 kB / 0.9018 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/0.9029, allocations: 75.91 kB / 0.9019 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.903, allocations: 39.27 kB / 0.902 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.9031, allocations: 27.97 kB / 0.902 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001265/0.9044, allocations: 0.7628 MB / 0.9027 GB, free: 64 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9044, allocations: 0 / 0.9027 GB, free: 64 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001928/0.9063, allocations: 0.5693 MB / 0.9033 GB, free: 15.49 MB / 0.7012 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.0009473/0.9073, allocations: 400.4 kB / 0.9037 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003599/0.9109, allocations: 1.219 MB / 0.9049 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.9109, allocations: 1.062 kB / 0.9049 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009988/0.9119, allocations: 378.5 kB / 0.9052 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.9146, allocations: 0.5282 MB / 0.9057 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.9202, allocations: 2.115 MB / 0.9078 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.9209, allocations: 1.059 MB / 0.9088 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.9212, allocations: 99.34 kB / 0.9089 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of SimCode: time 7.92e-07/0.9212, allocations: 0 / 0.9089 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of Templates: time 0.03575/0.957, allocations: 24.55 MB / 0.9329 GB, free: 1.355 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)