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.0009279/0.0009279, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.00084/0.00084, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 222.1 MB, free: 5.617 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.633/1.633, allocations: 292.7 MB / 0.5499 GB, free: 14.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.0004971/0.0004973, allocations: 14.88 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05005/0.2724, allocations: 56.59 MB / 0.8425 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.2866, allocations: 11.15 MB / 0.8534 GB, free: 8.023 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.2884, allocations: 51.62 kB / 0.8535 GB, free: 7.973 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.2899, allocations: 468.8 kB / 0.8539 GB, free: 7.512 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004306/0.2942, allocations: 1.519 MB / 0.8554 GB, free: 5.984 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.2967, allocations: 0.8826 MB / 0.8563 GB, free: 5.113 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004244/0.3009, allocations: 3.39 MB / 0.8596 GB, free: 1.711 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.3023, allocations: 0.8026 MB / 0.8604 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.3047, allocations: 1.061 MB / 0.8614 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.306, allocations: 0.8127 MB / 0.8622 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.3062, allocations: 44 kB / 0.8622 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.3085, allocations: 1.091 MB / 0.8633 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.3087, allocations: 214.9 kB / 0.8635 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.3091, allocations: 285 kB / 0.8638 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.311, allocations: 1.645 MB / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3111, allocations: 8 kB / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3111, allocations: 0 / 0.8654 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.3111, allocations: 0 / 0.8654 GB, free: 11.71 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.002876/0.314, allocations: 1.528 MB / 0.8669 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.314, allocations: 8.031 kB / 0.8669 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.316, allocations: 473.9 kB / 0.8673 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.3182, allocations: 1.109 MB / 0.8684 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.3185, allocations: 129.9 kB / 0.8686 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.3186, allocations: 84 kB / 0.8686 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.3206, allocations: 1.027 MB / 0.8696 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3207, allocations: 0 / 0.8696 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/0.3208, allocations: 32 kB / 0.8697 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.3208, allocations: 20 kB / 0.8697 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.323, allocations: 0.9641 MB / 0.8706 GB, free: 6.195 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.006355/0.3294, allocations: 4.647 MB / 0.8752 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.3326, allocations: 0.9462 MB / 0.8761 GB, free: 288 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008157/0.3334, allocations: 358 kB / 0.8764 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007805/0.3342, allocations: 0.9029 MB / 0.8773 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.3343, allocations: 42.94 kB / 0.8774 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 5.139e-06/0.3343, allocations: 4 kB / 0.8774 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.007919/0.3422, allocations: 2.252 MB / 0.8796 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3423, allocations: 55.84 kB / 0.8796 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.344, allocations: 1.056 MB / 0.8806 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.73e-05/0.3441, allocations: 37.7 kB / 0.8807 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.3446, allocations: 0.5313 MB / 0.8812 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.3448, allocations: 165.6 kB / 0.8814 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.3448, allocations: 12 kB / 0.8814 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.345, allocations: 333.9 kB / 0.8817 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009108/0.3459, allocations: 348.9 kB / 0.882 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.347, allocations: 0.5524 MB / 0.8826 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009726/0.3479, allocations: 396.5 kB / 0.8829 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.348, allocations: 0 / 0.8829 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002786/0.3507, allocations: 1.104 MB / 0.884 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.3509, allocations: 201.3 kB / 0.8842 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3509, allocations: 7.953 kB / 0.8842 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.3522, allocations: 332.5 kB / 0.8845 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.3528, allocations: 147.7 kB / 0.8847 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.3542, allocations: 0.9375 MB / 0.8856 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.3556, allocations: 211.1 kB / 0.8858 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-05/0.3557, allocations: 31.92 kB / 0.8858 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.3557, allocations: 4 kB / 0.8858 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002399/0.3581, allocations: 0.9753 MB / 0.8868 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3582, allocations: 7.953 kB / 0.8868 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.3592, allocations: 320.7 kB / 0.8871 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.3598, allocations: 147.8 kB / 0.8872 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.3611, allocations: 0.9386 MB / 0.8881 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.3625, allocations: 171.4 kB / 0.8883 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.3626, allocations: 35.98 kB / 0.8883 GB, free: 3.234 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.000673/0.3632, allocations: 364.2 kB / 0.8887 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.3636, allocations: 110.7 kB / 0.8888 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/0.3674, allocations: 1.306 MB / 0.8901 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.3674, allocations: 7.984 kB / 0.8901 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.3675, allocations: 4 kB / 0.8901 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.3675, allocations: 0 / 0.8901 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005264/0.3727, allocations: 2.39 MB / 0.8924 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3728, allocations: 4 kB / 0.8924 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.3731, allocations: 83.88 kB / 0.8925 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009354/0.3741, allocations: 335.6 kB / 0.8928 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.3741, allocations: 15.98 kB / 0.8928 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.3755, allocations: 0.9699 MB / 0.8938 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3755, allocations: 0 / 0.8938 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/0.379, allocations: 1.353 MB / 0.8951 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.3795, allocations: 291.4 kB / 0.8954 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.3797, allocations: 11.95 kB / 0.8954 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008758/0.3806, allocations: 115.9 kB / 0.8955 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.3807, allocations: 51.25 kB / 0.8956 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.3807, allocations: 27.92 kB / 0.8956 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001116/0.3819, allocations: 0.7354 MB / 0.8963 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3819, allocations: 4 kB / 0.8963 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001506/0.3834, allocations: 0.5653 MB / 0.8969 GB, free: 10.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006809/0.3841, allocations: 374.9 kB / 0.8972 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00319/0.3873, allocations: 1.264 MB / 0.8984 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.3873, allocations: 3.984 kB / 0.8984 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000933/0.3882, allocations: 415 kB / 0.8988 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.3905, allocations: 0.5261 MB / 0.8994 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.3955, allocations: 2.535 MB / 0.9018 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.3961, allocations: 1.074 MB / 0.9029 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000945/0.3971, allocations: 234.6 kB / 0.9031 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.3973, allocations: 79.41 kB / 0.9032 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of SimCode: time 4.5e-07/0.3973, allocations: 0 / 0.9032 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of Templates: time 0.3907/0.788, allocations: 23.8 MB / 0.9264 GB, free: 133.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: