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.001264/0.001264, allocations: 105.6 kB / 15.98 MB, free: 6.309 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.001173/0.001173, allocations: 199.5 kB / 16.91 MB, free: 6.152 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.46/1.46, allocations: 205.1 MB / 222.8 MB, free: 4.574 MB / 174.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.637/1.637, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001533/0.001533, allocations: 63.08 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2321, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06135/0.2935, allocations: 60.73 MB / 0.8428 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.3097, allocations: 11.84 MB / 0.8544 GB, free: 5.109 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.3122, allocations: 55.62 kB / 0.8544 GB, free: 5.055 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.3144, allocations: 0.5829 MB / 0.855 GB, free: 4.469 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005741/0.3202, allocations: 1.816 MB / 0.8568 GB, free: 2.645 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.3235, allocations: 1.108 MB / 0.8579 GB, free: 1.547 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004801/0.3283, allocations: 3.098 MB / 0.8609 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.3306, allocations: 1.116 MB / 0.862 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.3344, allocations: 1.337 MB / 0.8633 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.3363, allocations: 0.9373 MB / 0.8642 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004119/0.3368, allocations: 123.9 kB / 0.8643 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.3398, allocations: 1.462 MB / 0.8657 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004513/0.3403, allocations: 298.9 kB / 0.866 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.3417, allocations: 0.7113 MB / 0.8667 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.3446, allocations: 1.778 MB / 0.8685 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3446, allocations: 0 / 0.8685 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3446, allocations: 4 kB / 0.8685 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.278e-05/0.3447, allocations: 0 / 0.8685 GB, free: 6.625 MB / 0.6856 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.003299/0.348, allocations: 1.746 MB / 0.8702 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.348, allocations: 8.031 kB / 0.8702 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.3505, allocations: 458.8 kB / 0.8706 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.3529, allocations: 1.143 MB / 0.8717 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.3532, allocations: 121.9 kB / 0.8718 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3533, allocations: 84 kB / 0.8719 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.3555, allocations: 1.006 MB / 0.8729 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3555, allocations: 0 / 0.8729 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.3556, allocations: 32 kB / 0.8729 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.3556, allocations: 20 kB / 0.873 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.358, allocations: 0.9445 MB / 0.8739 GB, free: 0.9297 MB / 0.6856 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.006328/0.3643, allocations: 4.664 MB / 0.8784 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.3684, allocations: 1.007 MB / 0.8794 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.3694, allocations: 413.8 kB / 0.8798 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009613/0.3704, allocations: 1.013 MB / 0.8808 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3705, allocations: 39 kB / 0.8808 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 2.715e-06/0.3705, allocations: 0 / 0.8808 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.008057/0.3785, allocations: 1.955 MB / 0.8827 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.3786, allocations: 55.84 kB / 0.8828 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.3799, allocations: 0.9396 MB / 0.8837 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.83e-05/0.38, allocations: 37.7 kB / 0.8838 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.3804, allocations: 0.5041 MB / 0.8842 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.3806, allocations: 185.3 kB / 0.8844 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.3809, allocations: 134.1 kB / 0.8846 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.381, allocations: 326 kB / 0.8849 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009827/0.382, allocations: 358.8 kB / 0.8852 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.3831, allocations: 0.5108 MB / 0.8857 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00196/0.3851, allocations: 0.758 MB / 0.8864 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3851, allocations: 8 kB / 0.8865 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002906/0.388, allocations: 1.068 MB / 0.8875 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3881, allocations: 8 kB / 0.8875 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3881, allocations: 0 / 0.8875 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.3894, allocations: 320.1 kB / 0.8878 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.39, allocations: 127.8 kB / 0.8879 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.3915, allocations: 0.9152 MB / 0.8888 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3927, allocations: 151.4 kB / 0.889 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.989e-05/0.3928, allocations: 35.98 kB / 0.889 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00133/0.3942, allocations: 0.5567 MB / 0.8895 GB, free: 80 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001131/0.3953, allocations: 0.5069 MB / 0.89 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001921/0.3973, allocations: 0.7579 MB / 0.8908 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.067e-06/0.3973, allocations: 4 kB / 0.8908 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00295/0.4002, allocations: 1.057 MB / 0.8918 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4003, allocations: 8 kB / 0.8918 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4003, allocations: 7.984 kB / 0.8918 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.4014, allocations: 300.5 kB / 0.8921 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.402, allocations: 131.8 kB / 0.8922 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.4034, allocations: 0.9074 MB / 0.8931 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.4047, allocations: 147.5 kB / 0.8933 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.4048, allocations: 31.98 kB / 0.8933 GB, free: 12.09 MB / 0.7169 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.0002846/0.4051, allocations: 216.2 kB / 0.8935 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.4053, allocations: 110.6 kB / 0.8936 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.4083, allocations: 1.154 MB / 0.8947 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.4084, allocations: 12 kB / 0.8948 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4084, allocations: 0 / 0.8948 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4084, allocations: 3.984 kB / 0.8948 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/0.4128, allocations: 2.249 MB / 0.897 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.4129, allocations: 8.188 kB / 0.897 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.4134, allocations: 103.8 kB / 0.8971 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009789/0.4144, allocations: 304.5 kB / 0.8973 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.4145, allocations: 15.98 kB / 0.8974 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.4159, allocations: 0.9492 MB / 0.8983 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4159, allocations: 3.938 kB / 0.8983 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.4195, allocations: 1.316 MB / 0.8996 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.4201, allocations: 275.5 kB / 0.8998 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.4203, allocations: 12 kB / 0.8999 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009363/0.4212, allocations: 111.8 kB / 0.9 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.4213, allocations: 52.25 kB / 0.9 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/0.4214, allocations: 23.98 kB / 0.9 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008958/0.4223, allocations: 0.6599 MB / 0.9007 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.4223, allocations: 3.938 kB / 0.9007 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001444/0.4238, allocations: 0.5731 MB / 0.9012 GB, free: 3.766 MB / 0.7169 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.0007956/0.4246, allocations: 374.9 kB / 0.9016 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003795/0.4284, allocations: 1.338 MB / 0.9029 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4284, allocations: 4 kB / 0.9029 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.4297, allocations: 456.8 kB / 0.9033 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.432, allocations: 0.5 MB / 0.9038 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.4361, allocations: 2.372 MB / 0.9062 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.4368, allocations: 1.066 MB / 0.9072 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.4371, allocations: 91.39 kB / 0.9073 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.4372, allocations: 4 kB / 0.9073 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of Templates: time 0.4144/0.8515, allocations: 24.01 MB / 0.9307 GB, free: 134.7 MB / 0.7325 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)