Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, 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.001627/0.001627, allocations: 194.8 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.534/1.534, allocations: 205.1 MB / 222 MB, free: 4.773 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.777/1.777, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001465/0.001465, allocations: 64.47 kB / 0.6708 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.261, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05534/0.3164, allocations: 60.84 MB / 0.8421 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.3349, allocations: 11.97 MB / 0.8538 GB, free: 4.949 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.3378, allocations: 55.62 kB / 0.8538 GB, free: 4.895 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.34, allocations: 0.5516 MB / 0.8544 GB, free: 4.34 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006766/0.3468, allocations: 1.795 MB / 0.8561 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.3506, allocations: 1.078 MB / 0.8572 GB, free: 1.469 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005572/0.3562, allocations: 3.905 MB / 0.861 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.3577, allocations: 0.9157 MB / 0.8619 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.3605, allocations: 1.159 MB / 0.863 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.3624, allocations: 0.906 MB / 0.8639 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.3628, allocations: 67.88 kB / 0.864 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.3663, allocations: 1.349 MB / 0.8653 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004545/0.3668, allocations: 230.9 kB / 0.8655 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.3681, allocations: 0.6334 MB / 0.8661 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004153/0.3722, allocations: 2.255 MB / 0.8683 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3723, allocations: 0 / 0.8683 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3723, allocations: 3.984 kB / 0.8683 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.3723, allocations: 0 / 0.8683 GB, free: 5.984 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003239/0.3755, allocations: 1.746 MB / 0.87 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.3756, allocations: 8.031 kB / 0.87 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/0.3781, allocations: 410.8 kB / 0.8704 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/0.3814, allocations: 1.124 MB / 0.8715 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/0.3818, allocations: 117.9 kB / 0.8716 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.382, allocations: 84 kB / 0.8717 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.3843, allocations: 0.9799 MB / 0.8727 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3844, allocations: 0 / 0.8727 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/0.3845, allocations: 32 kB / 0.8727 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.3845, allocations: 16 kB / 0.8727 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.387, allocations: 0.8704 MB / 0.8736 GB, free: 464 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.007537/0.3946, allocations: 4.571 MB / 0.878 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/0.3981, allocations: 0.8368 MB / 0.8788 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.3989, allocations: 321.5 kB / 0.8792 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/0.3997, allocations: 0.9029 MB / 0.88 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3997, allocations: 38.98 kB / 0.8801 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 3.416e-06/0.3997, allocations: 0 / 0.8801 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.007444/0.4072, allocations: 1.807 MB / 0.8818 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4073, allocations: 55.84 kB / 0.8819 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.4093, allocations: 1.056 MB / 0.8829 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.04e-05/0.4094, allocations: 37.7 kB / 0.883 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.4099, allocations: 0.5235 MB / 0.8835 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.4101, allocations: 161.7 kB / 0.8836 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.4104, allocations: 138 kB / 0.8838 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4105, allocations: 333.9 kB / 0.8841 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009286/0.4114, allocations: 314.9 kB / 0.8844 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.4125, allocations: 0.504 MB / 0.8849 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.4143, allocations: 0.6941 MB / 0.8855 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.4143, allocations: 0 / 0.8855 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002994/0.4173, allocations: 1.011 MB / 0.8865 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.4173, allocations: 14.44 kB / 0.8865 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.4174, allocations: 4.375 kB / 0.8865 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.4188, allocations: 323.3 kB / 0.8869 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.4194, allocations: 123.8 kB / 0.887 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.4209, allocations: 0.9229 MB / 0.8879 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4224, allocations: 167.3 kB / 0.888 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.4225, allocations: 31.98 kB / 0.8881 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001304/0.4238, allocations: 0.5166 MB / 0.8886 GB, free: 308 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001025/0.4248, allocations: 0.4994 MB / 0.8891 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001655/0.4265, allocations: 0.6902 MB / 0.8897 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.4265, allocations: 0 / 0.8897 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002773/0.4293, allocations: 0.9993 MB / 0.8907 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4293, allocations: 15.94 kB / 0.8907 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4294, allocations: 4 kB / 0.8907 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.4305, allocations: 296.6 kB / 0.891 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.431, allocations: 127.8 kB / 0.8911 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.4325, allocations: 0.914 MB / 0.892 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.434, allocations: 151.6 kB / 0.8922 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/0.4341, allocations: 31.97 kB / 0.8922 GB, free: 12.42 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 (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.0002631/0.4344, allocations: 228 kB / 0.8924 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.4347, allocations: 110.6 kB / 0.8925 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.4373, allocations: 0.9948 MB / 0.8935 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.4373, allocations: 4 kB / 0.8935 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.4373, allocations: 8 kB / 0.8935 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4373, allocations: 3.984 kB / 0.8935 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006336/0.4437, allocations: 2.36 MB / 0.8958 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4437, allocations: 0 / 0.8958 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.444, allocations: 72.17 kB / 0.8959 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.4451, allocations: 300.6 kB / 0.8962 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.4451, allocations: 19.98 kB / 0.8962 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.4467, allocations: 0.9346 MB / 0.8971 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4467, allocations: 4 kB / 0.8971 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/0.4505, allocations: 1.204 MB / 0.8983 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006576/0.4511, allocations: 263.5 kB / 0.8985 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.4514, allocations: 12 kB / 0.8985 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.4525, allocations: 99.73 kB / 0.8986 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.4526, allocations: 47.88 kB / 0.8987 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/0.4527, allocations: 23.98 kB / 0.8987 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001444/0.4541, allocations: 0.739 MB / 0.8994 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4541, allocations: 4 kB / 0.8994 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00203/0.4562, allocations: 0.5692 MB / 0.9 GB, free: 4.223 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 (37): * Single equations (assignments): 32 * 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.001008/0.4572, allocations: 368.5 kB / 0.9003 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003582/0.4608, allocations: 1.147 MB / 0.9015 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.4608, allocations: 3.938 kB / 0.9015 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009966/0.4618, allocations: 375.3 kB / 0.9018 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/0.4647, allocations: 0.5173 MB / 0.9023 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/0.4709, allocations: 2.451 MB / 0.9047 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.4718, allocations: 1.066 MB / 0.9058 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001207/0.473, allocations: 228.8 kB / 0.906 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.4733, allocations: 83.41 kB / 0.9061 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/0.4733, allocations: 0 / 0.9061 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.4862/0.9595, allocations: 24.31 MB / 0.9298 GB, free: 130.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)