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.001177/0.001178, allocations: 103.1 kB / 16.35 MB, free: 6.348 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.001116/0.001116, allocations: 193.5 kB / 17.29 MB, free: 5.93 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001422/0.001422, allocations: 75.89 kB / 0.6729 GB, free: 5.918 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2672, allocations: 114.5 MB / 0.7848 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.5065/0.7738, allocations: 61.21 MB / 0.8445 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.7916, allocations: 11.9 MB / 0.8562 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.7947, allocations: 57.22 kB / 0.8562 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.7974, allocations: 0.6886 MB / 0.8569 GB, free: 15.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006714/0.8041, allocations: 1.94 MB / 0.8588 GB, free: 14.69 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.808, allocations: 1.225 MB / 0.86 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005612/0.8136, allocations: 3.072 MB / 0.863 GB, free: 12.51 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.8159, allocations: 1.102 MB / 0.864 GB, free: 12.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00414/0.8201, allocations: 1.34 MB / 0.8654 GB, free: 11.35 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.8224, allocations: 0.908 MB / 0.8662 GB, free: 10.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.8228, allocations: 116.2 kB / 0.8664 GB, free: 10.93 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004431/0.8272, allocations: 1.446 MB / 0.8678 GB, free: 10.44 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004666/0.8277, allocations: 300.5 kB / 0.8681 GB, free: 10.24 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.8289, allocations: 0.6925 MB / 0.8687 GB, free: 9.809 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004749/0.8337, allocations: 2.323 MB / 0.871 GB, free: 8.586 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.8338, allocations: 4.906 kB / 0.871 GB, free: 8.582 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8338, allocations: 0 / 0.871 GB, free: 8.582 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.8338, allocations: 0 / 0.871 GB, free: 8.582 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.004488/0.8383, allocations: 1.73 MB / 0.8727 GB, free: 7.246 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.8384, allocations: 8.344 kB / 0.8727 GB, free: 7.246 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.8407, allocations: 415.2 kB / 0.8731 GB, free: 7.059 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.8433, allocations: 1.11 MB / 0.8742 GB, free: 6.156 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003807/0.8437, allocations: 121.8 kB / 0.8743 GB, free: 6.102 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.8438, allocations: 79.34 kB / 0.8744 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.8461, allocations: 1.006 MB / 0.8754 GB, free: 5.414 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.8462, allocations: 2.219 kB / 0.8754 GB, free: 5.414 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.629e-05/0.8463, allocations: 35.47 kB / 0.8754 GB, free: 5.391 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.8463, allocations: 18.44 kB / 0.8754 GB, free: 5.391 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.8488, allocations: 0.8749 MB / 0.8763 GB, free: 4.957 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.00799/0.8568, allocations: 4.957 MB / 0.8811 GB, free: 0.543 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00381/0.8607, allocations: 0.8332 MB / 0.8819 GB, free: 132 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008513/0.8615, allocations: 318.7 kB / 0.8822 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/0.8623, allocations: 0.9061 MB / 0.8831 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.8623, allocations: 38.44 kB / 0.8831 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 3.146e-06/0.8623, allocations: 0 / 0.8831 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007841/0.8702, allocations: 1.812 MB / 0.8849 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.8703, allocations: 57.31 kB / 0.885 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.8723, allocations: 1.076 MB / 0.886 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.8724, allocations: 41.39 kB / 0.8861 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/0.8729, allocations: 0.5371 MB / 0.8866 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.8731, allocations: 158.7 kB / 0.8867 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.8734, allocations: 141.2 kB / 0.8869 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8735, allocations: 335.5 kB / 0.8872 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000992/0.8745, allocations: 331 kB / 0.8875 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.8757, allocations: 0.5335 MB / 0.888 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.8775, allocations: 0.7289 MB / 0.8887 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.8776, allocations: 2.312 kB / 0.8887 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003128/0.8807, allocations: 1.055 MB / 0.8898 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.8807, allocations: 7.406 kB / 0.8898 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.8808, allocations: 4.875 kB / 0.8898 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.8821, allocations: 308.6 kB / 0.8901 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.8828, allocations: 133.4 kB / 0.8902 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.8844, allocations: 0.9182 MB / 0.8911 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.886, allocations: 156.9 kB / 0.8912 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.8861, allocations: 32.89 kB / 0.8913 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001401/0.8876, allocations: 0.5243 MB / 0.8918 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001165/0.8887, allocations: 0.5343 MB / 0.8923 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001818/0.8906, allocations: 0.7261 MB / 0.893 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.169e-06/0.8906, allocations: 1.219 kB / 0.893 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003194/0.8938, allocations: 1.049 MB / 0.894 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.8938, allocations: 11.06 kB / 0.8941 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.8938, allocations: 8.797 kB / 0.8941 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.895, allocations: 301.7 kB / 0.8944 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.8956, allocations: 140.5 kB / 0.8945 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.8971, allocations: 0.9127 MB / 0.8954 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.8987, allocations: 136.3 kB / 0.8955 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.8988, allocations: 36.52 kB / 0.8955 GB, free: 6.84 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.0003062/0.8991, allocations: 221.7 kB / 0.8958 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.8994, allocations: 118 kB / 0.8959 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.9021, allocations: 0.989 MB / 0.8968 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.9021, allocations: 6.844 kB / 0.8968 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9021, allocations: 0 / 0.8968 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.9021, allocations: 3.984 kB / 0.8968 GB, free: 6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/0.9087, allocations: 2.355 MB / 0.8991 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.9087, allocations: 4 kB / 0.8991 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.9091, allocations: 71.88 kB / 0.8992 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.9101, allocations: 305.4 kB / 0.8995 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.9102, allocations: 16.55 kB / 0.8995 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.9116, allocations: 0.9476 MB / 0.9004 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9117, allocations: 0 / 0.9004 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.9155, allocations: 1.2 MB / 0.9016 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008259/0.9163, allocations: 272.7 kB / 0.9019 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.9165, allocations: 12 kB / 0.9019 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008762/0.9174, allocations: 75.91 kB / 0.902 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.9175, allocations: 39.89 kB / 0.902 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.9176, allocations: 23.98 kB / 0.902 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001329/0.9189, allocations: 0.7553 MB / 0.9028 GB, free: 392 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9189, allocations: 4 kB / 0.9028 GB, free: 388 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00189/0.9208, allocations: 0.5694 MB / 0.9033 GB, free: 15.8 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 (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.001027/0.9219, allocations: 373.8 kB / 0.9037 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003435/0.9253, allocations: 1.199 MB / 0.9049 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9253, allocations: 0 / 0.9049 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.9263, allocations: 371.6 kB / 0.9052 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.9289, allocations: 0.5325 MB / 0.9057 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005427/0.9344, allocations: 2.05 MB / 0.9077 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.935, allocations: 1.066 MB / 0.9088 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009516/0.936, allocations: 231.4 kB / 0.909 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.9362, allocations: 83.41 kB / 0.9091 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of SimCode: time 1.373e-06/0.9362, allocations: 0 / 0.9091 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of Templates: time 0.04193/0.9781, allocations: 25.54 MB / 0.934 GB, free: 0.7734 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)