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.001171/0.001171, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 185.9 kB / 16.62 MB, free: 6.582 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.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.783/1.783, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001473/0.001473, allocations: 71.38 kB / 0.6722 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2825, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06418/0.3467, allocations: 61.21 MB / 0.8439 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.3655, allocations: 11.9 MB / 0.8555 GB, free: 3.375 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003543/0.3692, allocations: 59.62 kB / 0.8556 GB, free: 3.316 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.3718, allocations: 0.6752 MB / 0.8562 GB, free: 2.637 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007999/0.3799, allocations: 1.954 MB / 0.8581 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004522/0.3844, allocations: 1.227 MB / 0.8593 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006384/0.3908, allocations: 3.067 MB / 0.8623 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002315/0.3932, allocations: 1.108 MB / 0.8634 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005122/0.3983, allocations: 1.355 MB / 0.8647 GB, free: 9.887 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.4014, allocations: 0.8984 MB / 0.8656 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.4017, allocations: 116 kB / 0.8657 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.4059, allocations: 1.454 MB / 0.8671 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.4062, allocations: 294.9 kB / 0.8674 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.4073, allocations: 0.6958 MB / 0.8681 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004828/0.4121, allocations: 2.318 MB / 0.8704 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4122, allocations: 0 / 0.8704 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.958e-06/0.4122, allocations: 0 / 0.8704 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.4122, allocations: 3.938 kB / 0.8704 GB, free: 4.098 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.00356/0.4158, allocations: 1.734 MB / 0.8721 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4158, allocations: 12.03 kB / 0.8721 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.418, allocations: 406.8 kB / 0.8725 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.4204, allocations: 1.167 MB / 0.8736 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.4205, allocations: 66 kB / 0.8737 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.4206, allocations: 76 kB / 0.8737 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.4228, allocations: 0.9997 MB / 0.8747 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.4228, allocations: 8 kB / 0.8747 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-05/0.4229, allocations: 36 kB / 0.8748 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/0.423, allocations: 16 kB / 0.8748 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.4254, allocations: 0.8703 MB / 0.8756 GB, free: 14.55 MB / 0.7012 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.006984/0.4324, allocations: 4.936 MB / 0.8804 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00337/0.4358, allocations: 0.8214 MB / 0.8812 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007562/0.4365, allocations: 321.9 kB / 0.8815 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009218/0.4375, allocations: 0.9029 MB / 0.8824 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.4375, allocations: 39 kB / 0.8825 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 4.739e-06/0.4376, allocations: 0 / 0.8825 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.00739/0.4449, allocations: 1.736 MB / 0.8842 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.445, allocations: 63.84 kB / 0.8842 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.447, allocations: 1.076 MB / 0.8853 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.897e-05/0.4472, allocations: 41.7 kB / 0.8853 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.4476, allocations: 0.5312 MB / 0.8858 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.4478, allocations: 161.6 kB / 0.886 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.4481, allocations: 146.1 kB / 0.8861 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4482, allocations: 330 kB / 0.8864 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009221/0.4492, allocations: 323.2 kB / 0.8867 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.4504, allocations: 0.5316 MB / 0.8873 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.4522, allocations: 0.7325 MB / 0.888 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.4522, allocations: 3.938 kB / 0.888 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00322/0.4554, allocations: 1.035 MB / 0.889 GB, free: 48 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.4555, allocations: 4 kB / 0.889 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.4555, allocations: 4 kB / 0.889 GB, free: 40 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.457, allocations: 308.5 kB / 0.8893 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006166/0.4576, allocations: 135.8 kB / 0.8894 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.4591, allocations: 0.8996 MB / 0.8903 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.4606, allocations: 155.2 kB / 0.8905 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.4608, allocations: 39.98 kB / 0.8905 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001481/0.4623, allocations: 0.5207 MB / 0.891 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/0.4634, allocations: 0.5356 MB / 0.8915 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001818/0.4653, allocations: 0.7053 MB / 0.8922 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.65e-05/0.4653, allocations: 4 kB / 0.8922 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.00326/0.4686, allocations: 1.031 MB / 0.8932 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4686, allocations: 11.94 kB / 0.8932 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4686, allocations: 4 kB / 0.8932 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.4699, allocations: 295.7 kB / 0.8935 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.4705, allocations: 139.8 kB / 0.8937 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.472, allocations: 0.8918 MB / 0.8945 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.4735, allocations: 139.5 kB / 0.8947 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.4736, allocations: 31.98 kB / 0.8947 GB, free: 9.988 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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.0003065/0.474, allocations: 220.1 kB / 0.8949 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.4743, allocations: 114.6 kB / 0.895 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.4771, allocations: 0.9754 MB / 0.896 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.4771, allocations: 8 kB / 0.896 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.4771, allocations: 4 kB / 0.896 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4771, allocations: 3.984 kB / 0.896 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006975/0.4841, allocations: 2.325 MB / 0.8982 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.4842, allocations: 4 kB / 0.8982 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.4845, allocations: 71.88 kB / 0.8983 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.4857, allocations: 299.4 kB / 0.8986 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.4857, allocations: 15.94 kB / 0.8986 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.4878, allocations: 0.9296 MB / 0.8995 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.4878, allocations: 3.938 kB / 0.8995 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004194/0.492, allocations: 1.184 MB / 0.9007 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008882/0.4929, allocations: 271.4 kB / 0.9009 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004231/0.4934, allocations: 16 kB / 0.901 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.4946, allocations: 71.91 kB / 0.901 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.4948, allocations: 39.83 kB / 0.9011 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/0.4949, allocations: 23.98 kB / 0.9011 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002/0.4969, allocations: 0.7592 MB / 0.9018 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4969, allocations: 0 / 0.9018 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002529/0.4994, allocations: 0.5693 MB / 0.9024 GB, free: 1.891 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.001184/0.5006, allocations: 389.5 kB / 0.9028 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003906/0.5045, allocations: 1.167 MB / 0.9039 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.5046, allocations: 0 / 0.9039 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.5057, allocations: 367.5 kB / 0.9042 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/0.5094, allocations: 0.5348 MB / 0.9048 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006857/0.5163, allocations: 2.043 MB / 0.9068 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.5177, allocations: 1.07 MB / 0.9078 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001357/0.5191, allocations: 233 kB / 0.908 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.5194, allocations: 79.42 kB / 0.9081 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of SimCode: time 1.543e-06/0.5194, allocations: 0 / 0.9081 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.5682/1.088, allocations: 25.5 MB / 0.933 GB, free: 131.9 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)