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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.51/1.51, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.911/1.911, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001587/0.001587, allocations: 68.19 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3185, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.07388/0.3925, allocations: 61.24 MB / 0.8432 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.4142, allocations: 11.9 MB / 0.8548 GB, free: 4.098 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/0.4176, allocations: 59.62 kB / 0.8548 GB, free: 4.039 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002692/0.4204, allocations: 0.6869 MB / 0.8555 GB, free: 3.348 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007515/0.4279, allocations: 1.951 MB / 0.8574 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00448/0.4324, allocations: 1.221 MB / 0.8586 GB, free: 180 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005557/0.438, allocations: 3.073 MB / 0.8616 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/0.4408, allocations: 1.124 MB / 0.8627 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/0.4464, allocations: 1.333 MB / 0.864 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.4491, allocations: 0.9217 MB / 0.8649 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007061/0.4499, allocations: 120 kB / 0.865 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004583/0.4545, allocations: 1.447 MB / 0.8664 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009331/0.4554, allocations: 298.9 kB / 0.8667 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.4581, allocations: 0.7075 MB / 0.8674 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006026/0.4641, allocations: 2.31 MB / 0.8697 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4642, allocations: 0 / 0.8697 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4642, allocations: 0 / 0.8697 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.697e-05/0.4643, allocations: 0 / 0.8697 GB, free: 4.793 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.005557/0.4698, allocations: 1.746 MB / 0.8714 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4699, allocations: 12.02 kB / 0.8714 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00282/0.4727, allocations: 458.8 kB / 0.8718 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.4757, allocations: 1.12 MB / 0.8729 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003697/0.4761, allocations: 117.9 kB / 0.873 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.4762, allocations: 80 kB / 0.8731 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.4785, allocations: 1.01 MB / 0.8741 GB, free: 116 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4785, allocations: 0 / 0.8741 GB, free: 116 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/0.4786, allocations: 35.98 kB / 0.8741 GB, free: 80 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.4786, allocations: 20 kB / 0.8741 GB, free: 60 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.4813, allocations: 0.9445 MB / 0.8751 GB, free: 15.12 MB / 0.7012 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.006921/0.4882, allocations: 4.703 MB / 0.8797 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.4925, allocations: 1.007 MB / 0.8806 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.4936, allocations: 409.9 kB / 0.881 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.4947, allocations: 1.017 MB / 0.882 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.4948, allocations: 39 kB / 0.8821 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 3.346e-06/0.4948, allocations: 0 / 0.8821 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.00837/0.5031, allocations: 1.947 MB / 0.884 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5032, allocations: 59.84 kB / 0.884 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.5046, allocations: 0.9474 MB / 0.885 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.946e-05/0.5047, allocations: 37.7 kB / 0.885 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.5052, allocations: 0.5119 MB / 0.8855 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.5054, allocations: 189.3 kB / 0.8857 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.5056, allocations: 122.1 kB / 0.8858 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5058, allocations: 334 kB / 0.8861 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5068, allocations: 358.8 kB / 0.8864 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.508, allocations: 0.5108 MB / 0.8869 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.5102, allocations: 0.758 MB / 0.8877 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.5102, allocations: 7.938 kB / 0.8877 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003221/0.5135, allocations: 1.072 MB / 0.8887 GB, free: 344 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.5135, allocations: 8 kB / 0.8887 GB, free: 336 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5135, allocations: 3.938 kB / 0.8887 GB, free: 332 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.5149, allocations: 308.9 kB / 0.889 GB, free: 20 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.5156, allocations: 131.9 kB / 0.8892 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.5172, allocations: 0.9112 MB / 0.8901 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.5183, allocations: 123.4 kB / 0.8902 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/0.5183, allocations: 31.97 kB / 0.8902 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00139/0.5197, allocations: 0.5602 MB / 0.8908 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001208/0.521, allocations: 0.5134 MB / 0.8913 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002026/0.523, allocations: 0.7502 MB / 0.892 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/0.523, allocations: 4 kB / 0.892 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003072/0.5261, allocations: 1.064 MB / 0.893 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5261, allocations: 4 kB / 0.893 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5261, allocations: 4 kB / 0.893 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.5273, allocations: 304.8 kB / 0.8933 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.5279, allocations: 135.8 kB / 0.8935 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.5294, allocations: 0.9064 MB / 0.8943 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5306, allocations: 115.5 kB / 0.8945 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.5307, allocations: 27.98 kB / 0.8945 GB, free: 10.29 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.0002674/0.531, allocations: 214.6 kB / 0.8947 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.5312, allocations: 110.6 kB / 0.8948 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/0.5345, allocations: 1.163 MB / 0.8959 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.5345, allocations: 4 kB / 0.8959 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5345, allocations: 4 kB / 0.8959 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5345, allocations: 3.984 kB / 0.8959 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004852/0.5394, allocations: 2.26 MB / 0.8981 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.5394, allocations: 0 / 0.8981 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/0.54, allocations: 108 kB / 0.8982 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.541, allocations: 303.6 kB / 0.8985 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.5411, allocations: 11.98 kB / 0.8986 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.5426, allocations: 0.9424 MB / 0.8995 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.5427, allocations: 12.03 kB / 0.8995 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00399/0.5467, allocations: 1.308 MB / 0.9008 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.5473, allocations: 279.5 kB / 0.901 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.5474, allocations: 23.88 kB / 0.901 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008683/0.5483, allocations: 75.91 kB / 0.9011 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.5484, allocations: 40.31 kB / 0.9012 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/0.5485, allocations: 23.98 kB / 0.9012 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001038/0.5495, allocations: 0.6756 MB / 0.9018 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5495, allocations: 0 / 0.9018 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001549/0.5511, allocations: 0.5769 MB / 0.9024 GB, free: 1.98 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.000849/0.552, allocations: 378.8 kB / 0.9028 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004193/0.5562, allocations: 1.346 MB / 0.9041 GB, free: 268 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.5562, allocations: 4 kB / 0.9041 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.5575, allocations: 452.9 kB / 0.9045 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.56, allocations: 0.4997 MB / 0.905 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.5642, allocations: 1.926 MB / 0.9069 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.5649, allocations: 1.074 MB / 0.9079 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001152/0.5661, allocations: 235.6 kB / 0.9082 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.5663, allocations: 87.36 kB / 0.9082 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.5663, allocations: 0 / 0.9082 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.4682/1.035, allocations: 24.9 MB / 0.9326 GB, free: 133.1 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)