Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 108 kB / 16.36 MB, free: 5.941 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.001098/0.001098, allocations: 193.2 kB / 17.3 MB, free: 5.562 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.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.12 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.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.67 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.001487/0.001488, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2225, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.4716/0.6941, allocations: 61.28 MB / 0.8446 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.7124, allocations: 11.91 MB / 0.8563 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003043/0.7154, allocations: 57.59 kB / 0.8563 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.7176, allocations: 0.6854 MB / 0.857 GB, free: 15.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007644/0.7253, allocations: 1.954 MB / 0.8589 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.7293, allocations: 1.221 MB / 0.8601 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0059/0.7352, allocations: 3.089 MB / 0.8631 GB, free: 12.49 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.7373, allocations: 1.118 MB / 0.8642 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.7414, allocations: 1.346 MB / 0.8655 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.7434, allocations: 0.9174 MB / 0.8664 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.7436, allocations: 117.2 kB / 0.8665 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.7475, allocations: 1.453 MB / 0.8679 GB, free: 10.4 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.7479, allocations: 294.4 kB / 0.8682 GB, free: 10.21 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.749, allocations: 0.7026 MB / 0.8689 GB, free: 9.77 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00473/0.7537, allocations: 2.336 MB / 0.8712 GB, free: 8.531 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7538, allocations: 1.062 kB / 0.8712 GB, free: 8.531 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7538, allocations: 4 kB / 0.8712 GB, free: 8.527 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.7538, allocations: 0 / 0.8712 GB, free: 8.527 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003976/0.7578, allocations: 1.767 MB / 0.8729 GB, free: 7.168 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.7578, allocations: 8.75 kB / 0.8729 GB, free: 7.168 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.7602, allocations: 415.8 kB / 0.8733 GB, free: 6.977 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.7625, allocations: 1.113 MB / 0.8744 GB, free: 6.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.7629, allocations: 118.9 kB / 0.8745 GB, free: 6.023 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.763, allocations: 83.53 kB / 0.8746 GB, free: 5.996 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.7652, allocations: 1.024 MB / 0.8756 GB, free: 5.324 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.7653, allocations: 1.25 kB / 0.8756 GB, free: 5.324 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/0.7654, allocations: 32.72 kB / 0.8756 GB, free: 5.301 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.7654, allocations: 19.75 kB / 0.8756 GB, free: 5.301 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.7679, allocations: 0.9021 MB / 0.8765 GB, free: 4.859 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.007313/0.7752, allocations: 4.97 MB / 0.8814 GB, free: 452 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.7789, allocations: 0.842 MB / 0.8822 GB, free: 28 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008822/0.7798, allocations: 333.5 kB / 0.8825 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007376/0.7805, allocations: 0.9102 MB / 0.8834 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.7806, allocations: 37.59 kB / 0.8834 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.464e-06/0.7806, allocations: 5.312 kB / 0.8834 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.006806/0.7874, allocations: 1.724 MB / 0.8851 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.7874, allocations: 55.88 kB / 0.8852 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.7892, allocations: 1.087 MB / 0.8862 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.093e-05/0.7893, allocations: 38.42 kB / 0.8863 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/0.7897, allocations: 0.53 MB / 0.8868 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.7899, allocations: 174.2 kB / 0.887 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.7902, allocations: 142.3 kB / 0.8871 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7903, allocations: 329.5 kB / 0.8874 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.7913, allocations: 338.5 kB / 0.8877 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.7926, allocations: 0.5515 MB / 0.8883 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.7944, allocations: 0.77 MB / 0.889 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.7944, allocations: 2.344 kB / 0.889 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002967/0.7974, allocations: 1.087 MB / 0.8901 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.7974, allocations: 6.625 kB / 0.8901 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.7975, allocations: 8.062 kB / 0.8901 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.7988, allocations: 313.1 kB / 0.8904 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.7994, allocations: 141.3 kB / 0.8905 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.8009, allocations: 0.9164 MB / 0.8914 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.8024, allocations: 171.3 kB / 0.8916 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.8025, allocations: 32.02 kB / 0.8916 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001408/0.8039, allocations: 0.5408 MB / 0.8922 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00125/0.8052, allocations: 0.5484 MB / 0.8927 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00196/0.8071, allocations: 0.759 MB / 0.8934 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/0.8072, allocations: 1.125 kB / 0.8934 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.003112/0.8103, allocations: 1.074 MB / 0.8945 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.8103, allocations: 10.67 kB / 0.8945 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.8103, allocations: 5.094 kB / 0.8945 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.8116, allocations: 305.2 kB / 0.8948 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.8124, allocations: 141.4 kB / 0.8949 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.8141, allocations: 0.9099 MB / 0.8958 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.816, allocations: 146 kB / 0.896 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.8161, allocations: 35.45 kB / 0.896 GB, free: 6.66 MB / 0.6856 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 (62): * Single equations (assignments): 61 * 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.0003138/0.8164, allocations: 220.9 kB / 0.8962 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.8167, allocations: 114 kB / 0.8963 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.8194, allocations: 1.012 MB / 0.8973 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.8194, allocations: 9.484 kB / 0.8973 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.8194, allocations: 3.25 kB / 0.8973 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.8195, allocations: 3.938 kB / 0.8973 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005532/0.825, allocations: 2.26 MB / 0.8995 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.825, allocations: 0 / 0.8995 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.8254, allocations: 76.16 kB / 0.8996 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.8264, allocations: 306.6 kB / 0.8999 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.8265, allocations: 23.98 kB / 0.8999 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.8279, allocations: 0.9447 MB / 0.9008 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8279, allocations: 4.031 kB / 0.9008 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.8318, allocations: 1.246 MB / 0.9021 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005948/0.8324, allocations: 267.5 kB / 0.9023 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.8325, allocations: 12 kB / 0.9023 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008949/0.8334, allocations: 87.83 kB / 0.9024 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.8335, allocations: 39.33 kB / 0.9024 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/0.8336, allocations: 26.11 kB / 0.9025 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001167/0.8348, allocations: 0.7671 MB / 0.9032 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8348, allocations: 0 / 0.9032 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00169/0.8365, allocations: 0.5809 MB / 0.9038 GB, free: 15.25 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007761/0.8373, allocations: 386.6 kB / 0.9041 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003465/0.8407, allocations: 1.232 MB / 0.9054 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8408, allocations: 0.9375 kB / 0.9054 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009742/0.8417, allocations: 402.1 kB / 0.9057 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.844, allocations: 0.5346 MB / 0.9063 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.8489, allocations: 2.07 MB / 0.9083 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.8495, allocations: 1.07 MB / 0.9093 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009019/0.8504, allocations: 232.4 kB / 0.9095 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.8507, allocations: 87.41 kB / 0.9096 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of SimCode: time 8.01e-07/0.8507, allocations: 0 / 0.9096 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of Templates: time 0.04123/0.8919, allocations: 25.85 MB / 0.9349 GB, free: 15.82 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)