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.0012/0.0012, allocations: 102.6 kB / 16.36 MB, free: 6.359 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.001169/0.001168, allocations: 194 kB / 17.3 MB, free: 5.887 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.362/1.362, 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.72/1.72, allocations: 292.3 MB / 0.5496 GB, free: 17.32 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.001434/0.001434, allocations: 67.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2137, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3891/0.6028, allocations: 61.24 MB / 0.8446 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.6195, allocations: 11.9 MB / 0.8562 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002981/0.6226, allocations: 60.06 kB / 0.8563 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.6253, allocations: 0.6874 MB / 0.8569 GB, free: 148 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007281/0.6326, allocations: 1.947 MB / 0.8588 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004299/0.6369, allocations: 1.225 MB / 0.86 GB, free: 14.31 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006072/0.643, allocations: 3.075 MB / 0.863 GB, free: 12.8 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.6452, allocations: 1.126 MB / 0.8641 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.6488, allocations: 1.331 MB / 0.8654 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.6509, allocations: 0.9287 MB / 0.8663 GB, free: 11.19 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.6513, allocations: 119.4 kB / 0.8665 GB, free: 11.19 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.6553, allocations: 1.455 MB / 0.8679 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.6557, allocations: 289 kB / 0.8682 GB, free: 10.51 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.6567, allocations: 0.7067 MB / 0.8688 GB, free: 10.07 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004388/0.6611, allocations: 2.338 MB / 0.8711 GB, free: 8.766 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6611, allocations: 0 / 0.8711 GB, free: 8.766 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6612, allocations: 4 kB / 0.8711 GB, free: 8.762 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.855e-05/0.6612, allocations: 1.469 kB / 0.8711 GB, free: 8.762 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.003611/0.6648, allocations: 1.744 MB / 0.8728 GB, free: 7.418 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6649, allocations: 9.344 kB / 0.8728 GB, free: 7.418 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/0.6676, allocations: 456.2 kB / 0.8733 GB, free: 7.215 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.6707, allocations: 1.182 MB / 0.8744 GB, free: 6.266 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.6708, allocations: 72.91 kB / 0.8745 GB, free: 6.23 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.671, allocations: 79.69 kB / 0.8746 GB, free: 6.207 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.6733, allocations: 1 MB / 0.8756 GB, free: 5.582 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.6734, allocations: 1.25 kB / 0.8756 GB, free: 5.582 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/0.6735, allocations: 30.97 kB / 0.8756 GB, free: 5.559 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.6735, allocations: 18.06 kB / 0.8756 GB, free: 5.559 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.6762, allocations: 0.9386 MB / 0.8765 GB, free: 5.098 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.007102/0.6833, allocations: 4.65 MB / 0.8811 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004164/0.6875, allocations: 0.9876 MB / 0.882 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.6886, allocations: 408 kB / 0.8824 GB, free: 304 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.6897, allocations: 1.018 MB / 0.8834 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.6897, allocations: 41.59 kB / 0.8834 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.805e-06/0.6897, allocations: 1.438 kB / 0.8835 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.008102/0.6979, allocations: 1.911 MB / 0.8853 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.6979, allocations: 57.59 kB / 0.8854 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.6995, allocations: 0.9608 MB / 0.8863 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.6996, allocations: 37.14 kB / 0.8863 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.7, allocations: 0.5038 MB / 0.8868 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.7002, allocations: 188.1 kB / 0.887 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.7005, allocations: 129.3 kB / 0.8871 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7006, allocations: 331.8 kB / 0.8875 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.7017, allocations: 346.6 kB / 0.8878 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.703, allocations: 0.5078 MB / 0.8883 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.7052, allocations: 0.7502 MB / 0.889 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.7052, allocations: 8.375 kB / 0.889 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003294/0.7085, allocations: 1.051 MB / 0.89 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.7086, allocations: 5.656 kB / 0.8901 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.7086, allocations: 7.391 kB / 0.8901 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.7099, allocations: 300.6 kB / 0.8903 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/0.7107, allocations: 125.3 kB / 0.8905 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.7123, allocations: 0.8962 MB / 0.8913 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.7137, allocations: 127.7 kB / 0.8915 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.7138, allocations: 28.55 kB / 0.8915 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001545/0.7154, allocations: 0.5567 MB / 0.892 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001268/0.7167, allocations: 0.5072 MB / 0.8925 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002115/0.7188, allocations: 0.7397 MB / 0.8933 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.992e-06/0.7188, allocations: 1.125 kB / 0.8933 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003249/0.7221, allocations: 1.051 MB / 0.8943 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.7221, allocations: 7.438 kB / 0.8943 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7222, allocations: 2.562 kB / 0.8943 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.7233, allocations: 292.3 kB / 0.8946 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.724, allocations: 134 kB / 0.8947 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.7255, allocations: 0.8957 MB / 0.8956 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.7269, allocations: 109.1 kB / 0.8957 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.463e-05/0.727, allocations: 28.61 kB / 0.8957 GB, free: 7.328 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.0002797/0.7273, allocations: 215.9 kB / 0.8959 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.7276, allocations: 113.5 kB / 0.896 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/0.7309, allocations: 1.137 MB / 0.8971 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.7309, allocations: 6.219 kB / 0.8971 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.7309, allocations: 1.344 kB / 0.8971 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.7309, allocations: 3.984 kB / 0.8971 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/0.7357, allocations: 2.257 MB / 0.8993 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.7357, allocations: 0 / 0.8993 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.7363, allocations: 112 kB / 0.8994 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.7373, allocations: 296.5 kB / 0.8997 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.7374, allocations: 21.3 kB / 0.8998 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.7389, allocations: 0.9229 MB / 0.9007 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.7389, allocations: 7.969 kB / 0.9007 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.7428, allocations: 1.28 MB / 0.9019 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006923/0.7435, allocations: 275.5 kB / 0.9022 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.7437, allocations: 19.98 kB / 0.9022 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/0.7445, allocations: 71.92 kB / 0.9023 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.7447, allocations: 44.31 kB / 0.9023 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.155e-05/0.7447, allocations: 23.98 kB / 0.9023 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009683/0.7457, allocations: 0.6678 MB / 0.903 GB, free: 316 kB / 0.6856 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7457, allocations: 0 / 0.903 GB, free: 316 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001888/0.7476, allocations: 0.5769 MB / 0.9035 GB, free: 15.73 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.0009494/0.7486, allocations: 390.9 kB / 0.9039 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004009/0.7526, allocations: 1.3 MB / 0.9052 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7527, allocations: 0 / 0.9052 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.754, allocations: 460.8 kB / 0.9056 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.7567, allocations: 0.4925 MB / 0.9061 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.7607, allocations: 1.923 MB / 0.908 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.7614, allocations: 1.066 MB / 0.909 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.7618, allocations: 91.39 kB / 0.9091 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of SimCode: time 9.92e-07/0.7618, allocations: 0 / 0.9091 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of Templates: time 0.03259/0.7944, allocations: 24.13 MB / 0.9327 GB, free: 2.121 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)