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.001098/0.001098, allocations: 109.1 kB / 16.29 MB, free: 6.43 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.001283/0.001283, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.734/1.734, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.881/1.881, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001476/0.001476, allocations: 67.91 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2726, allocations: 114.5 MB / 0.7841 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.5743/0.8469, allocations: 61.2 MB / 0.8438 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02071/0.8677, allocations: 11.9 MB / 0.8554 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/0.8721, allocations: 59.53 kB / 0.8555 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00333/0.8756, allocations: 0.6846 MB / 0.8562 GB, free: 116 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009937/0.8855, allocations: 1.953 MB / 0.8581 GB, free: 14.94 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005444/0.891, allocations: 1.217 MB / 0.8593 GB, free: 14.28 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008667/0.8997, allocations: 3.068 MB / 0.8623 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003204/0.903, allocations: 1.117 MB / 0.8634 GB, free: 12.27 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006082/0.9091, allocations: 1.336 MB / 0.8647 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.9125, allocations: 0.9085 MB / 0.8655 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004112/0.9129, allocations: 116.2 kB / 0.8657 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005432/0.9183, allocations: 1.451 MB / 0.8671 GB, free: 10.69 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006182/0.919, allocations: 289.6 kB / 0.8674 GB, free: 10.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.9207, allocations: 0.6998 MB / 0.868 GB, free: 10.06 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008358/0.9291, allocations: 2.32 MB / 0.8703 GB, free: 8.922 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.9291, allocations: 1.5 kB / 0.8703 GB, free: 8.922 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.195e-06/0.9291, allocations: 0 / 0.8703 GB, free: 8.922 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.186e-05/0.9292, allocations: 0 / 0.8703 GB, free: 8.922 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.005542/0.9347, allocations: 1.736 MB / 0.872 GB, free: 7.578 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.9348, allocations: 13.12 kB / 0.872 GB, free: 7.574 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.9373, allocations: 408.2 kB / 0.8724 GB, free: 7.391 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.9405, allocations: 1.113 MB / 0.8735 GB, free: 6.488 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004031/0.941, allocations: 114.2 kB / 0.8736 GB, free: 6.441 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.9412, allocations: 87.28 kB / 0.8737 GB, free: 6.41 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.9441, allocations: 1.003 MB / 0.8747 GB, free: 5.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.9441, allocations: 3.938 kB / 0.8747 GB, free: 5.746 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.9442, allocations: 32.16 kB / 0.8747 GB, free: 5.723 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.9443, allocations: 20.09 kB / 0.8747 GB, free: 5.723 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002704/0.947, allocations: 0.8779 MB / 0.8756 GB, free: 5.285 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.009372/0.9564, allocations: 4.941 MB / 0.8804 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/0.9601, allocations: 0.8441 MB / 0.8812 GB, free: 476 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008766/0.961, allocations: 317.1 kB / 0.8815 GB, free: 320 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008689/0.9619, allocations: 0.9071 MB / 0.8824 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.9619, allocations: 37.25 kB / 0.8824 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 3.647e-06/0.9619, allocations: 1.062 kB / 0.8824 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.008142/0.9701, allocations: 1.811 MB / 0.8842 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.505e-05/0.9702, allocations: 55.78 kB / 0.8843 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003535/0.9738, allocations: 1.085 MB / 0.8853 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.974, allocations: 33.23 kB / 0.8854 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006026/0.9746, allocations: 0.529 MB / 0.8859 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.9748, allocations: 163.7 kB / 0.886 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.9752, allocations: 145 kB / 0.8862 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.9754, allocations: 331.8 kB / 0.8865 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.9764, allocations: 330.3 kB / 0.8868 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.9778, allocations: 0.5329 MB / 0.8873 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.9799, allocations: 0.738 MB / 0.888 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.98, allocations: 1.125 kB / 0.888 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003598/0.9836, allocations: 1.044 MB / 0.8891 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.9836, allocations: 6.812 kB / 0.8891 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.9837, allocations: 4.812 kB / 0.8891 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.9853, allocations: 322.4 kB / 0.8894 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.986, allocations: 132.5 kB / 0.8895 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.988, allocations: 0.9187 MB / 0.8904 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.9898, allocations: 157.4 kB / 0.8906 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.99, allocations: 34.17 kB / 0.8906 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001717/0.9917, allocations: 0.5253 MB / 0.8911 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001359/0.9931, allocations: 0.5338 MB / 0.8916 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002092/0.9952, allocations: 0.7259 MB / 0.8923 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-05/0.9952, allocations: 1.406 kB / 0.8923 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003418/0.9987, allocations: 1.042 MB / 0.8934 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.9987, allocations: 11.31 kB / 0.8934 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.9987, allocations: 8.969 kB / 0.8934 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.9999, allocations: 301.2 kB / 0.8937 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/1.001, allocations: 133.6 kB / 0.8938 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/1.002, allocations: 0.9149 MB / 0.8947 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.004, allocations: 131.5 kB / 0.8948 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.004, allocations: 39.11 kB / 0.8948 GB, free: 7.184 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 (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.0003646/1.004, allocations: 226.4 kB / 0.8951 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/1.005, allocations: 114.5 kB / 0.8952 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/1.008, allocations: 0.9984 MB / 0.8961 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/1.008, allocations: 6.312 kB / 0.8961 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.008, allocations: 3.984 kB / 0.8962 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/1.008, allocations: 5.672 kB / 0.8962 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/1.015, allocations: 2.359 MB / 0.8985 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.015, allocations: 0 / 0.8985 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/1.016, allocations: 72.17 kB / 0.8985 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/1.017, allocations: 303.1 kB / 0.8988 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/1.017, allocations: 12 kB / 0.8988 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/1.018, allocations: 0.9463 MB / 0.8998 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.018, allocations: 4.031 kB / 0.8998 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003724/1.022, allocations: 1.2 MB / 0.9009 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008862/1.023, allocations: 267.5 kB / 0.9012 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/1.023, allocations: 12 kB / 0.9012 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.024, allocations: 71.91 kB / 0.9013 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/1.025, allocations: 43.83 kB / 0.9013 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.569e-05/1.025, allocations: 25.3 kB / 0.9013 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001586/1.026, allocations: 0.7553 MB / 0.9021 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.11e-07/1.026, allocations: 0 / 0.9021 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002461/1.029, allocations: 0.5693 MB / 0.9026 GB, free: 328 kB / 0.6856 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.001148/1.03, allocations: 389.1 kB / 0.903 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003534/1.033, allocations: 1.184 MB / 0.9041 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.033, allocations: 4.062 kB / 0.9042 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009784/1.034, allocations: 375.1 kB / 0.9045 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/1.038, allocations: 0.5319 MB / 0.905 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006052/1.044, allocations: 2.046 MB / 0.907 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009183/1.045, allocations: 1.066 MB / 0.9081 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001203/1.046, allocations: 235.2 kB / 0.9083 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/1.046, allocations: 83.41 kB / 0.9084 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of SimCode: time 1.984e-06/1.046, allocations: 0 / 0.9084 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of Templates: time 0.0528/1.099, allocations: 25.53 MB / 0.9333 GB, free: 1.281 MB / 0.7169 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)