Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 100.3 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.001071/0.001071, allocations: 196.8 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.446/1.446, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001435/0.001435, allocations: 66.25 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2389, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4881/0.727, allocations: 61.25 MB / 0.8446 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.7446, allocations: 11.9 MB / 0.8562 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.7479, allocations: 60.53 kB / 0.8563 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.7504, allocations: 0.6794 MB / 0.8569 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008585/0.759, allocations: 1.955 MB / 0.8588 GB, free: 14.71 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.7635, allocations: 1.225 MB / 0.86 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006185/0.7697, allocations: 3.075 MB / 0.863 GB, free: 12.53 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.772, allocations: 1.126 MB / 0.8641 GB, free: 12.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/0.7764, allocations: 1.327 MB / 0.8654 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.7787, allocations: 0.9284 MB / 0.8663 GB, free: 10.92 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002599/0.779, allocations: 120.9 kB / 0.8664 GB, free: 10.92 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.783, allocations: 1.457 MB / 0.8679 GB, free: 10.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.7835, allocations: 291.1 kB / 0.8681 GB, free: 10.24 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.7847, allocations: 0.7041 MB / 0.8688 GB, free: 9.797 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.7899, allocations: 2.34 MB / 0.8711 GB, free: 8.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7899, allocations: 0 / 0.8711 GB, free: 8.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7899, allocations: 0 / 0.8711 GB, free: 8.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.79, allocations: 0 / 0.8711 GB, free: 8.52 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.003707/0.7937, allocations: 1.752 MB / 0.8728 GB, free: 7.168 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.7937, allocations: 12.03 kB / 0.8728 GB, free: 7.168 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.7964, allocations: 460 kB / 0.8733 GB, free: 6.961 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.7989, allocations: 1.119 MB / 0.8744 GB, free: 6.047 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003551/0.7993, allocations: 119 kB / 0.8745 GB, free: 6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.7995, allocations: 79.44 kB / 0.8746 GB, free: 5.977 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.8018, allocations: 1.007 MB / 0.8755 GB, free: 5.348 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.8018, allocations: 0 / 0.8755 GB, free: 5.348 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.8019, allocations: 30.97 kB / 0.8756 GB, free: 5.324 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.8019, allocations: 19.5 kB / 0.8756 GB, free: 5.324 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/0.8046, allocations: 0.9473 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.007036/0.8116, allocations: 4.659 MB / 0.8811 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/0.8158, allocations: 1.008 MB / 0.882 GB, free: 252 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.817, allocations: 416.2 kB / 0.8824 GB, free: 44 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.818, allocations: 1.019 MB / 0.8834 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.8181, allocations: 41.34 kB / 0.8835 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/0.8181, allocations: 4 kB / 0.8835 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.008225/0.8263, allocations: 1.942 MB / 0.8854 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.8264, allocations: 57.28 kB / 0.8854 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.8282, allocations: 0.965 MB / 0.8864 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.8283, allocations: 37.3 kB / 0.8864 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.8287, allocations: 0.5043 MB / 0.8869 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.8289, allocations: 188.2 kB / 0.8871 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.8292, allocations: 127.8 kB / 0.8872 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8293, allocations: 327.9 kB / 0.8875 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.8304, allocations: 355 kB / 0.8879 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.8317, allocations: 0.5126 MB / 0.8884 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.8339, allocations: 0.757 MB / 0.8891 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.8339, allocations: 1.156 kB / 0.8891 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003243/0.8371, allocations: 1.066 MB / 0.8901 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.8372, allocations: 7.281 kB / 0.8901 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8372, allocations: 3.281 kB / 0.8902 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.8385, allocations: 315.5 kB / 0.8905 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.8392, allocations: 133.4 kB / 0.8906 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.8408, allocations: 0.915 MB / 0.8915 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.8422, allocations: 122.2 kB / 0.8916 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/0.8423, allocations: 30.72 kB / 0.8916 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001701/0.844, allocations: 0.561 MB / 0.8922 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001399/0.8454, allocations: 0.5072 MB / 0.8927 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002234/0.8477, allocations: 0.754 MB / 0.8934 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/0.8477, allocations: 0 / 0.8934 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003293/0.851, allocations: 1.063 MB / 0.8944 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.851, allocations: 4.781 kB / 0.8944 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.851, allocations: 2.75 kB / 0.8944 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.8523, allocations: 302.4 kB / 0.8947 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.853, allocations: 134.1 kB / 0.8949 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.8546, allocations: 0.9074 MB / 0.8957 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.856, allocations: 117.3 kB / 0.8959 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/0.8561, allocations: 26.52 kB / 0.8959 GB, free: 7.02 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0003137/0.8564, allocations: 215.5 kB / 0.8961 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/0.8569, allocations: 111 kB / 0.8962 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.8603, allocations: 1.156 MB / 0.8973 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.8604, allocations: 6.281 kB / 0.8973 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8604, allocations: 0.5625 kB / 0.8973 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.8604, allocations: 5.172 kB / 0.8973 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/0.8655, allocations: 2.268 MB / 0.8995 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.8656, allocations: 6 kB / 0.8996 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.8662, allocations: 107.8 kB / 0.8997 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.8672, allocations: 299.4 kB / 0.8999 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.8673, allocations: 19.98 kB / 0.9 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.8688, allocations: 0.936 MB / 0.9009 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.8688, allocations: 7.875 kB / 0.9009 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/0.8727, allocations: 1.313 MB / 0.9022 GB, free: 1.066 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008085/0.8735, allocations: 275.5 kB / 0.9024 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/0.8739, allocations: 16 kB / 0.9024 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.8751, allocations: 79.91 kB / 0.9025 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.8752, allocations: 40.27 kB / 0.9026 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.8753, allocations: 27.97 kB / 0.9026 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00117/0.8764, allocations: 0.6717 MB / 0.9032 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8765, allocations: 0 / 0.9032 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002251/0.8787, allocations: 0.573 MB / 0.9038 GB, free: 15.36 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001191/0.8799, allocations: 399.7 kB / 0.9042 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004194/0.8841, allocations: 1.312 MB / 0.9055 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.8842, allocations: 0 / 0.9055 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.8855, allocations: 460.8 kB / 0.9059 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.8885, allocations: 0.4936 MB / 0.9064 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.8931, allocations: 1.891 MB / 0.9082 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/0.8939, allocations: 1.066 MB / 0.9093 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00121/0.8952, allocations: 241 kB / 0.9095 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.8955, allocations: 83.41 kB / 0.9096 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of SimCode: time 1.372e-06/0.8955, allocations: 0 / 0.9096 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of Templates: time 0.03978/0.9353, allocations: 24.89 MB / 0.9339 GB, free: 0.9141 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)