Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000942/0.000942, allocations: 186.4 kB / 327.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007895/0.0007895, allocations: 88.19 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 10.19 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2211, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.03887/0.26, allocations: 56.55 MB / 0.956 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.2751, allocations: 11.09 MB / 0.9669 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.2773, allocations: 47.69 kB / 0.9669 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.2792, allocations: 464.8 kB / 0.9674 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00503/0.2842, allocations: 1.525 MB / 0.9689 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.2875, allocations: 0.8758 MB / 0.9697 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00508/0.2926, allocations: 3.386 MB / 0.973 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.2942, allocations: 0.7989 MB / 0.9738 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.297, allocations: 1.034 MB / 0.9748 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.2985, allocations: 0.8205 MB / 0.9756 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.2987, allocations: 48 kB / 0.9757 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.3014, allocations: 1.088 MB / 0.9767 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.3018, allocations: 206.9 kB / 0.9769 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005761/0.3023, allocations: 285 kB / 0.9772 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.305, allocations: 1.641 MB / 0.9788 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.305, allocations: 0 / 0.9788 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.655e-06/0.305, allocations: 3.938 kB / 0.9788 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.109e-05/0.3051, allocations: 0 / 0.9788 GB, free: 15.82 MB / 0.6355 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.003642/0.3087, allocations: 1.512 MB / 0.9803 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.3088, allocations: 12.03 kB / 0.9803 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/0.3118, allocations: 0.5174 MB / 0.9808 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.3147, allocations: 1.098 MB / 0.9819 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004277/0.3152, allocations: 133.9 kB / 0.982 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.3154, allocations: 80 kB / 0.9821 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.318, allocations: 1.029 MB / 0.9831 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3181, allocations: 0 / 0.9831 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.3182, allocations: 35.98 kB / 0.9831 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.3182, allocations: 24 kB / 0.9831 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002876/0.3211, allocations: 0.9953 MB / 0.9841 GB, free: 10.24 MB / 0.6355 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.008192/0.3293, allocations: 4.699 MB / 0.9887 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/0.3337, allocations: 1.124 MB / 0.9898 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.3349, allocations: 437.9 kB / 0.9902 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.336, allocations: 1.033 MB / 0.9912 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.3361, allocations: 39 kB / 0.9912 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 3.507e-06/0.3361, allocations: 0 / 0.9912 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.008888/0.345, allocations: 2.147 MB / 0.9933 GB, free: 156 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.3451, allocations: 55.84 kB / 0.9934 GB, free: 84 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.347, allocations: 0.9281 MB / 0.9943 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.3471, allocations: 37.7 kB / 0.9943 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.3476, allocations: 0.5118 MB / 0.9948 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.3478, allocations: 181.3 kB / 0.995 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.3479, allocations: 12 kB / 0.995 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.348, allocations: 326 kB / 0.9953 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.3491, allocations: 368.9 kB / 0.9957 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3504, allocations: 0.5347 MB / 0.9962 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.3515, allocations: 389.9 kB / 0.9966 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3515, allocations: 0 / 0.9966 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003402/0.3549, allocations: 1.123 MB / 0.9977 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.3551, allocations: 156.5 kB / 0.9978 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.3551, allocations: 4 kB / 0.9978 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.3568, allocations: 333.5 kB / 0.9981 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.3576, allocations: 139.8 kB / 0.9983 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.3594, allocations: 0.9447 MB / 0.9992 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.3609, allocations: 187.2 kB / 0.9994 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/0.361, allocations: 31.92 kB / 0.9994 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.361, allocations: 4 kB / 0.9994 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002767/0.3638, allocations: 0.9859 MB / 1 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3638, allocations: 4 kB / 1 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.365, allocations: 324.8 kB / 1.001 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.3657, allocations: 143.8 kB / 1.001 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.3672, allocations: 0.927 MB / 1.002 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.3687, allocations: 171.4 kB / 1.002 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/0.3688, allocations: 27.98 kB / 1.002 GB, free: 7.141 MB / 0.6511 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006899/0.3695, allocations: 349 kB / 1.002 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.3697, allocations: 110.6 kB / 1.002 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.3729, allocations: 1.218 MB / 1.004 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.3729, allocations: 4 kB / 1.004 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.373, allocations: 4 kB / 1.004 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.373, allocations: 3.984 kB / 1.004 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004648/0.3776, allocations: 2.315 MB / 1.006 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.3777, allocations: 4.188 kB / 1.006 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.3782, allocations: 115.8 kB / 1.006 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.3793, allocations: 324.6 kB / 1.006 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.3794, allocations: 19.98 kB / 1.006 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.3809, allocations: 0.9649 MB / 1.007 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3809, allocations: 12.05 kB / 1.007 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.3847, allocations: 1.386 MB / 1.009 GB, free: 172 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/0.3853, allocations: 291.4 kB / 1.009 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.3854, allocations: 12 kB / 1.009 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009577/0.3864, allocations: 127.8 kB / 1.009 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3865, allocations: 40.33 kB / 1.009 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.3865, allocations: 27.94 kB / 1.009 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009406/0.3875, allocations: 0.6599 MB / 1.01 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.503e-06/0.3875, allocations: 0 / 1.01 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001508/0.389, allocations: 0.5574 MB / 1.01 GB, free: 14.43 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007341/0.3898, allocations: 365.5 kB / 1.011 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003734/0.3935, allocations: 1.377 MB / 1.012 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3935, allocations: 0 / 1.012 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.3948, allocations: 488.8 kB / 1.012 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.3973, allocations: 0.5076 MB / 1.013 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.4016, allocations: 2.377 MB / 1.015 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.4023, allocations: 1.062 MB / 1.016 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.4026, allocations: 87.41 kB / 1.016 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of SimCode: time 7.21e-07/0.4026, allocations: 4 kB / 1.016 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of Templates: time 0.03487/0.4375, allocations: 23.82 MB / 1.04 GB, free: 420 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)